MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / slotStart

Method slotStart

App/Client/mainwindow.cpp:1011–1023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1009}
1010
1011void MainWindow::slotStart()
1012{
1013 if(nullptr == m_pView)
1014 {
1015 Q_ASSERT(false);
1016 return;
1017 }
1018 QAction* pAction = qobject_cast<QAction*>(this->sender());
1019 Q_ASSERT(pAction);
1020 COperate* p = m_Manager.CreateOperate(pAction->data().toString());
1021 if(nullptr == p) return;
1022 Start(p, true);
1023}
1024
1025/*!
1026 * \brief Start

Callers 3

mainwindow.cppFile · 0.45

Calls 2

CreateOperateMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected