| 1009 | } |
| 1010 | |
| 1011 | void 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 |
no test coverage detected