Home
last modified time | relevance | path

Searched refs:targetContact (Results 1 – 24 of 24) sorted by relevance

/dports/net-im/ktp-text-ui/ktp-text-ui-21.12.3/lib/
H A Dotr-notifications.cpp59 KNotification *notification = prepareNotification(widget, targetContact); in otrSessionStarted()
74 void otrSessionFinished(ChatWidget *widget, const Tp::ContactPtr &targetContact) in otrSessionFinished() argument
76 KNotification *notification = prepareNotification(widget, targetContact); in otrSessionFinished()
77 notification->setText(i18n("Finished OTR session with %1", targetContact->alias())); in otrSessionFinished()
86 void authenticationRequested(QWidget *widget, const Tp::ContactPtr &targetContact) in authenticationRequested() argument
88 KNotification *notification = prepareNotification(widget, targetContact); in authenticationRequested()
101 KNotification *notification = prepareNotification(widget, targetContact); in authenticationConcluded()
116 void authenticationAborted(QWidget *widget, const Tp::ContactPtr &targetContact) in authenticationAborted() argument
118 KNotification *notification = prepareNotification(widget, targetContact); in authenticationAborted()
129 void authenticationFailed(QWidget *widget, const Tp::ContactPtr &targetContact) in authenticationFailed() argument
[all …]
H A Dotr-notifications.h30 void otrSessionStarted(ChatWidget *widget, const Tp::ContactPtr &targetContact, bool verified);
32 void otrSessionFinished(ChatWidget *widget, const Tp::ContactPtr &targetContact);
34 void authenticationRequested(QWidget *widget, const Tp::ContactPtr &targetContact);
36 … void authenticationConcluded(QWidget *widget, const Tp::ContactPtr &targetContact, bool success);
38 void authenticationAborted(QWidget *widget, const Tp::ContactPtr &targetContact);
40 void authenticationFailed(QWidget *widget, const Tp::ContactPtr &targetContact);
H A Dchat-widget.cpp177 …KTp::ContactPtr targetContact = KTp::ContactPtr::qObjectCast(d->channel->textChannel()->targetCont… in ChatWidget() local
185 d->fileTransferMenuAction->setEnabled(targetContact && targetContact->fileTransferCapability()); in ChatWidget()
310 Tp::ContactPtr otherContact = d->channel->textChannel()->targetContact(); in icon()
770 … OTRNotifications::otrSessionStarted(this, d->channel->textChannel()->targetContact(), false); in onOTRTrustLevelChanged()
781 … OTRNotifications::otrSessionStarted(this, d->channel->textChannel()->targetContact(), true); in onOTRTrustLevelChanged()
788 … OTRNotifications::otrSessionFinished(this, d->channel->textChannel()->targetContact()); in onOTRTrustLevelChanged()
811 … OTRNotifications::authenticationRequested(wizard, d->channel->textChannel()->targetContact()); in onPeerAuthenticationRequestedQA()
819 … OTRNotifications::authenticationRequested(wizard, d->channel->textChannel()->targetContact()); in onPeerAuthenticationRequestedSS()
855 OTRNotifications::authenticationAborted(wizard, d->channel->textChannel()->targetContact()); in onPeerAuthenticationAborted()
868 OTRNotifications::authenticationFailed(wizard, d->channel->textChannel()->targetContact()); in onPeerAuthenticationFailed()
[all …]
/dports/net-im/ktp-common-internals/ktp-common-internals-21.12.3/KTp/Declarative/
H A Dconversation.cpp53 KTp::ContactPtr targetContact; member in Conversation::ConversationPrivate
117 if (channel->targetContact().isNull()) { in setTextChannel()
121 d->targetContact = KTp::ContactPtr::qObjectCast(channel->targetContact()); in setTextChannel()
124 … connect(d->targetContact.constData(), SIGNAL(aliasChanged(QString)), SIGNAL(titleChanged())); in setTextChannel()
126 …connect(d->targetContact.constData(), SIGNAL(avatarDataChanged(Tp::AvatarData)), SIGNAL(avatarChan… in setTextChannel()
160 } else if (!d->targetContact.isNull()) { in presenceIcon()
161 return KTp::Presence(d->targetContact->presence()).icon(); in presenceIcon()
172 const QString path = d->targetContact->avatarData().fileName; in avatar()
184 KTp::ContactPtr Conversation::targetContact() const in targetContact() function in Conversation
189 return d->targetContact; in targetContact()
[all …]
H A Dmainlogmodel.cpp136 item.targetContact = query.value(QStringLiteral("targetContact")).toString(); in processQueryResults()
139 …item.conversation = new Conversation(item.targetContact, m_accountManager->accountForObjectPath(it… in processQueryResults()
141 m_conversations.insert(accountObjectPath + item.targetContact, item.conversation); in processQueryResults()
162 return m_logItems.at(row).targetContact; in data()
356 const QString targetContact = textChannel->targetContact()->id(); in handleChannels() local
361 if (item.targetContact == targetContact && item.accountObjectPath == accountObjectPath) { in handleChannels()
375 q.bindValue(QStringLiteral(":contactId"), targetContact); in handleChannels()
400 const QString contactId = channel->targetContact()->id(); in handleChannel()
406 … if (item.targetContact == contactId && item.accountObjectPath == account->objectPath()) { in handleChannel()
423 item.targetContact = contactId; in handleChannel()
H A Dconversation.h44 Q_PROPERTY(KTp::ContactPtr targetContact READ targetContact CONSTANT)
71 KTp::ContactPtr targetContact() const;
H A Dpinned-contacts-model.cpp152 …r contact = idx.data(ConversationsModel::ConversationRole).value<Conversation*>()->targetContact(); in data()
262 QString contactId = conv->targetContact()->id(); in conversationsStateChanged()
H A Dmainlogmodel.h41 QString targetContact; variable
/dports/net-im/ktp-common-internals/ktp-common-internals-21.12.3/KTp/Models/
H A Dtext-channel-watcher-proxy-model.cpp152 … KTp::ContactPtr targetContact = KTp::ContactPtr::qObjectCast(textChannel->targetContact()); in observeChannels() local
155 if (targetContact.isNull()) { in observeChannels()
160 …tch(QModelIndex(sourceModel()->index(0,0)), KTp::IdRole, QVariant::fromValue(targetContact->id())); in observeChannels()
168 d->currentChannels[targetContact] = watcher; in observeChannels()
/dports/net-im/ktp-text-ui/ktp-text-ui-21.12.3/app/
H A Dchat-window.cpp370 startAudioCall(currChat->account(), currChat->textChannel()->targetContact()); in onAudioCallTriggered()
381 Tp::ContactPtr contact = currChat->textChannel()->targetContact(); in onBlockContactTriggered()
420 …KTp::ContactPtr targetContact = KTp::ContactPtr::qObjectCast(currentChatTab->textChannel()->target… in onCurrentIndexChanged() local
422 setAudioCallEnabled(targetContact->audioCallCapability()); in onCurrentIndexChanged()
423 setFileTransferEnabled(targetContact->fileTransferCapability()); in onCurrentIndexChanged()
424 setVideoCallEnabled(targetContact->videoCallCapability()); in onCurrentIndexChanged()
428 toggleBlockButton(targetContact->isBlocked()); in onCurrentIndexChanged()
665 startVideoCall(currChat->account(), currChat->textChannel()->targetContact()); in onVideoCallTriggered()
676 Tp::ContactPtr contact = currChat->textChannel()->targetContact(); in onUnblockContactTriggered()
695 const Tp::ContactPtr contact = currChat->textChannel()->targetContact(); in onShowInfoTriggered()
[all …]
H A Dchat-window.h201 void offerDocumentToContact(const Tp::AccountPtr& account, const Tp::ContactPtr& targetContact);
/dports/net-im/telepathy-qt/telepathy-qt-0.9.8/tests/dbus/
H A Dchan-basics.cpp134 QVERIFY(!mChan->targetContact().isNull()); in testCreateChannel()
135 QCOMPARE(mChan->targetContact()->id(), QString::fromLatin1("alice")); in testCreateChannel()
141 QVERIFY(contact == mChan->groupSelfContact() || contact == mChan->targetContact()); in testCreateChannel()
H A Dchan-group.cpp181 QVERIFY(mChan->targetContact().isNull()); in testCreateChannel()
/dports/net-im/ktp-common-internals/ktp-common-internals-21.12.3/KTp/Logger/
H A Dscrollback-manager.cpp84 d->textChannel->targetContact()->id(), in setTextChannel()
85 d->textChannel->targetContact()->alias()); in setTextChannel()
/dports/net-im/telepathy-qt/telepathy-qt-0.9.8/TelepathyQt/
H A Dchannel.cpp150 ContactPtr targetContact; member
850 if (!targetContact && targetHandleType == HandleTypeContact && targetHandle != 0) { in buildContacts()
902 if (targetHandleType == HandleTypeContact && targetHandle != 0 && !targetContact) { in processMembersChanged()
1003 if (!targetContact && targetHandleType == HandleTypeContact && targetHandle == handle) { in updateContacts()
1004 targetContact = contact; in updateContacts()
1009 targetId = targetContact->id(); in updateContacts()
1766 ContactPtr Channel::targetContact() const in targetContact() function in Tp::Channel
1774 return mPriv->targetContact; in targetContact()
H A Dchannel.h75 ContactPtr targetContact() const;
/dports/net-im/ktp-desktop-applets/ktp-desktop-applets-21.12.3/chat/org.kde.ktp-chat/contents/ui/
H A DConversationDelegate.qml33 contact: model.conversation.targetContact
H A DChatWidget.qml73 contact: chatWidget.conv.targetContact
/dports/net-im/ktp-filetransfer-handler/ktp-filetransfer-handler-21.12.3/src/
H A Dhandle-outgoing-file-transfer-channel-job.cpp178 … qMakePair<QString, QString>(i18n("To"), channel->targetContact()->alias()), in __k__start()
H A Dhandle-incoming-file-transfer-channel-job.cpp410 … qMakePair<QString, QString>(i18n("From"), channel->targetContact()->alias()), in __k__acceptFile()
/dports/net-im/ktp-common-internals/ktp-common-internals-21.12.3/otr-proxy/KTpProxy/
H A Dotr-session.cpp402 switch(pca->channel()->chatState(pca->channel()->targetContact())) { in recipientStatus()
/dports/net-im/ktp-common-internals/ktp-common-internals-21.12.3/KTp/OTR/
H A Dchannel-adapter.cpp49 setSender(channel->targetContact()); in OTRMessage()
/dports/net-im/telepathy-qt/telepathy-qt-0.9.8/
H A DNEWS386 * fd.o #36526: Tp::Channel has now gained targetID() and targetContact()
H A DChangeLog21035 Add Channel::targetContact()