/dports/net-im/ktp-text-ui/ktp-text-ui-21.12.3/lib/ |
H A D | otr-notifications.cpp | 59 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 D | otr-notifications.h | 30 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 D | chat-widget.cpp | 177 …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 D | conversation.cpp | 53 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 D | mainlogmodel.cpp | 136 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 D | conversation.h | 44 Q_PROPERTY(KTp::ContactPtr targetContact READ targetContact CONSTANT) 71 KTp::ContactPtr targetContact() const;
|
H A D | pinned-contacts-model.cpp | 152 …r contact = idx.data(ConversationsModel::ConversationRole).value<Conversation*>()->targetContact(); in data() 262 QString contactId = conv->targetContact()->id(); in conversationsStateChanged()
|
H A D | mainlogmodel.h | 41 QString targetContact; variable
|
/dports/net-im/ktp-common-internals/ktp-common-internals-21.12.3/KTp/Models/ |
H A D | text-channel-watcher-proxy-model.cpp | 152 … 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 D | chat-window.cpp | 370 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 D | chat-window.h | 201 void offerDocumentToContact(const Tp::AccountPtr& account, const Tp::ContactPtr& targetContact);
|
/dports/net-im/telepathy-qt/telepathy-qt-0.9.8/tests/dbus/ |
H A D | chan-basics.cpp | 134 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 D | chan-group.cpp | 181 QVERIFY(mChan->targetContact().isNull()); in testCreateChannel()
|
/dports/net-im/ktp-common-internals/ktp-common-internals-21.12.3/KTp/Logger/ |
H A D | scrollback-manager.cpp | 84 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 D | channel.cpp | 150 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 D | channel.h | 75 ContactPtr targetContact() const;
|
/dports/net-im/ktp-desktop-applets/ktp-desktop-applets-21.12.3/chat/org.kde.ktp-chat/contents/ui/ |
H A D | ConversationDelegate.qml | 33 contact: model.conversation.targetContact
|
H A D | ChatWidget.qml | 73 contact: chatWidget.conv.targetContact
|
/dports/net-im/ktp-filetransfer-handler/ktp-filetransfer-handler-21.12.3/src/ |
H A D | handle-outgoing-file-transfer-channel-job.cpp | 178 … qMakePair<QString, QString>(i18n("To"), channel->targetContact()->alias()), in __k__start()
|
H A D | handle-incoming-file-transfer-channel-job.cpp | 410 … 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 D | otr-session.cpp | 402 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 D | channel-adapter.cpp | 49 setSender(channel->targetContact()); in OTRMessage()
|
/dports/net-im/telepathy-qt/telepathy-qt-0.9.8/ |
H A D | NEWS | 386 * fd.o #36526: Tp::Channel has now gained targetID() and targetContact()
|
H A D | ChangeLog | 21035 Add Channel::targetContact()
|