gpt4 book ai didi

c++ - 添加/删除/更新联系人时收到通知

转载 作者:太空狗 更新时间:2023-10-29 21:45:01 26 4
gpt4 key购买 nike

在 BlackBerry 10 上,如何在添加、删除或更新联系人时通知我的 Qt 应用程序?有联系API吗?

最佳答案

QContactManager有这 3 个信号:

void QContactManager::contactsAdded ( const QList<QContactLocalId> & contactIds );
void QContactManager::contactsChanged ( const QList<QContactLocalId> & contactIds );
void QContactManager::contactsRemoved ( const QList<QContactLocalId> & contactIds );

将您的插槽连接到它们以接收通知。

关于c++ - 添加/删除/更新联系人时收到通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18605962/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com