Anyone knows how to get the battery charging status?
void UTIL_GetLowBatteryStatus(char *c1, char *c2)bool /*???*/ UTIL_GetLowBatteryStatus()
the battery charging status
Ant-ON: это вроде бы маленько не то, что он просилЦитироватьthe battery charging status
Thanks BeZ and Ant-ON,But how about missed calls and un-read messages?
RC_MissedCallInterface::className() const@@VERSION // FUNCRC_MissedCallInterface::dataUpdate()@@VERSION // FUNCRC_MissedCallInterface::destruction()@@VERSION // FUNCRC_MissedCallInterface::getUnreadMissedCalls()@@VERSION // FUNCRC_MissedCallInterface::initMetaObject()@@VERSION // FUNCRC_MissedCallInterface::instance()@@VERSION // FUNCRC_MissedCallInterface::metaObject() const@@VERSION // FUNCRC_MissedCallInterface::metaObj@@VERSION // OBJECTRC_MissedCallInterface::~RC_MissedCallInterface()@@VERSION // FUNCRC_MissedCallInterface::~RC_MissedCallInterface()@@VERSION // FUNCRC_MissedCallInterface::~RC_MissedCallInterface()@@VERSION // FUNCRC_MissedCallInterface::RC_MissedCallInterface()@@VERSION // FUNCRC_MissedCallInterface::RC_MissedCallInterface()@@VERSION // FUNCRC_MissedCallInterface::staticMetaObject()@@VERSION // FUNCRC_MissedCallInterface::tr(char const*, char const*)@@VERSION // FUNCRC_MissedCallInterface::tr(char const*)@@VERSION // FUNC
RC_MissedCallInterface* inst = RC_MissedCallInterface::instance(); if(inst){ QValueList<RC_MissedCallData> callList = inst->getUnreadMissedCalls(); .. }
Ant-ON: интересно, у нас будет работать? по идее должно, хотя могут быть нюансы )))можно будет плагин для ПЕ 3 сделать
// to check the missed call statusQCopChannel *pMissedCallChannel = new QCopChannel("/EZX/recentcall",this);connect(pMissedCallChannel, SIGNAL(received(const QCString &,const QByteArray &)), this, SLOT(slotReceivePhoneMsg(const QCString &,const QByteArray &)));
// to ceck for missed messageQCopChannel *pMissedMsgChannel = new QCopChannel("msgctr_eng__msgapi_sms__client_broadcast_listen_chnl_name",this);connect(pMissedMsgChannel, SIGNAL(received(const QCString &,const QByteArray &)), this, SLOT(slotReceivePhoneMsg(const QCString &,const QByteArray &)));
void MyZKbMain:: slotReceivePhoneMsg(const QCString& msg, const QByteArray& data){ if(msg == "RECENTCALL_MSG_2") { missedCall = true; doSomething(); } if(msg == "MSGAPI_SMS__MSG__IND_OF_INCOMING_MSG__INSMS_RECID") { missedMessage = true; doSomething(); } }
/EZX/recentcallmsgctr_eng__msgapi_sms__client_broadcast_listen_chnl_name
deepak: к сожалению, на Z6 такие каналы, какКод: [Выделить]/EZX/recentcallmsgctr_eng__msgapi_sms__client_broadcast_listen_chnl_nameне зарегистрированы