void ContainmentShell::optionsPreferences() { if (!m_dialog) { m_dialog = new AppletSelector( m_part ); connect( m_dialog, SIGNAL(addApplet(QString)), m_part, SLOT(addApplet(QString)) ); } m_dialog->show(); }
void AddAppletDialog::addCurrentApplet() { addApplet(m_selectedApplet); }