| 855 | } |
| 856 | |
| 857 | void MainWindow::slotMenuActivity() |
| 858 | { |
| 859 | QAction* pAction = qobject_cast<QAction*>(sender()); |
| 860 | Q_ASSERT(pAction); |
| 861 | if(!pAction) return; |
| 862 | COperate* p = pAction->data().value<COperate*>(); |
| 863 | if(p) |
| 864 | slotOperateChanged(p); |
| 865 | } |
| 866 | |
| 867 | void MainWindow::slotLoadOperateMenu() |
| 868 | { |