Beispiel #1
0
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();
}
Beispiel #2
0
void AddAppletDialog::addCurrentApplet()
{
    addApplet(m_selectedApplet);
}