///Place a call (from the command line) void Cmd::placeCall(const QString& number) { Call* call = CallModel::instance()->dialingCall(); call->reset(); call->appendText(number); call->performAction(Call::Action::ACCEPT); }
///Send a text ans hang up (from the command line) void Cmd::sendText(const QString& number, const QString& text) { Call* call = CallModel::instance()->dialingCall(); call->reset(); call->appendText(number); call->setProperty("message",text); connect(call,SIGNAL(changed(Call*)),instance(),SLOT(textMessagePickup(Call*))); call->performAction(Call::Action::ACCEPT); }