Logo Search packages:      
Sourcecode: kdar version File versions  Download package

void KDarConfig::slotRaiseWidgetStack ( const QString &  module  )  [virtual, slot]

Slot for setting the current widget in the widget stack.

Definition at line 1873 of file kdarConfig.cpp.

{
    if ( module == i18n( "config module", "General" ) )
    {
        configureWidgetStack->raiseWidget( KDar::GENERAL );
    }
    else if ( module == i18n( "config module", "Fonts" ) )
    {
        configureWidgetStack->raiseWidget( KDar::FONTS );
    }
    else if ( module == i18n( "config module", "Slicing" ) )
    {
        configureWidgetStack->raiseWidget( KDar::SLICING );
    }
    else if ( module == i18n( "config module", "Compression" ) )
    {
        configureWidgetStack->raiseWidget( KDar::COMPRESSION );
    }
    else if ( module == i18n( "config module", "Directories" ) )
    {
        configureWidgetStack->raiseWidget( KDar::DIRECTORIES );
    }
    else if ( module == i18n( "config module", "Files" ) )
    {
        configureWidgetStack->raiseWidget( KDar::FILES );
    }
    else if ( module == i18n( "config module", "Filesystem" ) )
    {
        configureWidgetStack->raiseWidget( KDar::FILESYSTEM );
    }
    else if ( module == i18n( "config module", "Comparison" ) )
    {
        configureWidgetStack->raiseWidget( KDar::COMPARISON );
    }
    else if ( module == i18n( "config module", "Restore" ) )
    {
        configureWidgetStack->raiseWidget( KDar::RESTORE );
    }
    else if ( module == i18n( "config module", "Cryptography" ) )
    {
        configureWidgetStack->raiseWidget( KDar::CRYPTO );
    }
    else
    {
        kdDebug() << "KDarConfig::slotRaiseWidgetStack(): " << module << ": no such config module." << endl;
    }
}


Generated by  Doxygen 1.6.0   Back to index