コード例 #1
0
void StatusRootAction::editStatuses()
{
	KCMultiDialog *kcm = new KCMultiDialog( Kopete::UI::Global::mainWidget() );
	kcm->setFaceType( KCMultiDialog::Plain );
	kcm->setPlainCaption( i18n( "Configure Statuses" ) );
	kcm->addModule( "kopete_statusconfig" );
	kcm->exec();
}
コード例 #2
0
void FormatSelectionDialog::showAdvancedSettings()
{
    KCMultiDialog KCM;
    KCM.setWindowTitle( i18n( "Audio CD settings - Amarok" ) );
    KCM.addModule( "audiocd" );

    KCM.exec();
}
コード例 #3
0
bool Attica::KdePlatformDependent::askForCredentials(const QUrl& baseUrl, QString& user, QString& password)
{
    Q_UNUSED(baseUrl);
    Q_UNUSED(user);
    Q_UNUSED(password);
    kDebug() << "Attempting to start KCM for credentials";
    KCMultiDialog KCM;
    KCM.setWindowTitle( i18n( "Open Collaboration Providers" ) );
    KCM.addModule( "kcm_attica" );
    
    KCM.exec();

    return false;
}