void SmsActions::newSms(const QString &mobile) { auto smsDialog = m_pluginInjectedFactory->makeInjected<SmsDialog>( m_history, m_mobileNumberManager, m_smsGatewayManager, m_smsScriptsManager); if (m_smsDialogRepository) m_smsDialogRepository->addDialog(smsDialog); smsDialog->setRecipient(mobile); smsDialog->show(); }
void QtUMFax::init(const QString & faxNumber,const QString & userName,const QString & md5,const QString & contactId,const QString & senderName) { setPhoneNumber(faxNumber); setContactId(contactId); setUsername(userName); setRecipient(senderName); setUserKey(md5); Config & config = ConfigManager::getInstance().getCurrentConfig(); QString address = QString::fromStdString(config.getSendFaxUrl()); if(_contactId!=_phoneNumber){ address = address+QString("?username=%1&userkey=%2&recipient=%3&phonenumber=%4").arg(_userName).arg(_userKey).arg(_recepient).arg(_phoneNumber); }else{ address = address+QString("?username=%1&userkey=%2&phonenumber=%3").arg(_userName).arg(_userKey).arg(_phoneNumber); } _ui->webView->setUrl(QUrl(address)); }
/** Transmit outgoing message with the specified recipient ID and function **/ void LithneClass::send( uint8_t _id, uint8_t _function ) { setRecipient( _id ); setFunction( _function ); send(); }
/** Transmit outgoing message with the specified recipient by 64 bit address and function **/ void LithneClass::send( XBeeAddress64 recipient, uint8_t function ) { setRecipient( recipient ); setFunction( function ); send(); }