示例#1
0
void ConfigModuleWithTabs::load()
{
    for(int i = 0 ; i < mTabWidget->count() ; ++i)
    {
        ConfigModuleTab *tab = dynamic_cast<ConfigModuleTab *>(mTabWidget->page(i));
        if(tab)
            tab->load();
    }
    KCModule::load();
}
示例#2
0
void ConfigModuleWithTabs::load()
{
    const int numberOfTab = mTabWidget->count();
    for (int i = 0; i < numberOfTab; ++i) {
        ConfigModuleTab *tab = qobject_cast<ConfigModuleTab *>(mTabWidget->widget(i));
        if (tab) {
            tab->load();
        }
    }
    KCModule::load();
}