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

Method Initial

Src/Operate.cpp:190–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190int 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
207int COperate::Clean()
208{

Callers

nothing calls this directly

Calls 2

IconMethod · 0.45
DisplayNameMethod · 0.45

Tested by

no test coverage detected