| 188 | } |
| 189 | |
| 190 | int COperate::Initial() |
| 191 | { |
| 192 | m_Menu.setIcon(m_pPlugin->Icon()); |
| 193 | m_Menu.setTitle(m_pPlugin->DisplayName()); |
| 194 | m_Menu.setToolTip(m_pPlugin->DisplayName()); |
| 195 | m_Menu.setStatusTip(m_pPlugin->DisplayName()); |
| 196 | |
| 197 | m_pActionSettings = new QAction(QIcon::fromTheme("system-settings"), |
| 198 | tr("Settings"), &m_Menu); |
| 199 | if(m_pActionSettings) { |
| 200 | bool check = connect(m_pActionSettings, SIGNAL(triggered()), |
| 201 | this, SLOT(slotSettings())); |
| 202 | Q_ASSERT(check); |
| 203 | } |
| 204 | return 0; |
| 205 | } |
| 206 | |
| 207 | int COperate::Clean() |
| 208 | { |
nothing calls this directly
no test coverage detected