|
|
@ -62,18 +62,18 @@ class KCMultiWidget::KCMultiWidgetPrivate
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
KCMultiWidget::KCMultiWidget(TQWidget *tqparent, const char *name, bool modal)
|
|
|
|
KCMultiWidget::KCMultiWidget(TQWidget *parent, const char *name, bool modal)
|
|
|
|
: KDialogBase(IconList, i18n("Configure"), Help | Default |Cancel | Apply |
|
|
|
|
: KDialogBase(IconList, i18n("Configure"), Help | Default |Cancel | Apply |
|
|
|
|
Ok | User1 | User2 | User3, Ok, tqparent, name, modal, true,
|
|
|
|
Ok | User1 | User2 | User3, Ok, parent, name, modal, true,
|
|
|
|
KStdGuiItem::reset(), KStdGuiItem::close(), KStdGuiItem::adminMode())
|
|
|
|
KStdGuiItem::reset(), KStdGuiItem::close(), KStdGuiItem::adminMode())
|
|
|
|
, dialogface( IconList ), d( new KCMultiWidgetPrivate )
|
|
|
|
, dialogface( IconList ), d( new KCMultiWidgetPrivate )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
init();
|
|
|
|
init();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
KCMultiWidget::KCMultiWidget( int dialogFace, TQWidget * tqparent, const char * name, bool modal )
|
|
|
|
KCMultiWidget::KCMultiWidget( int dialogFace, TQWidget * parent, const char * name, bool modal )
|
|
|
|
: KDialogBase( dialogFace, "Caption", Help | Default | Cancel | Apply | Ok |
|
|
|
|
: KDialogBase( dialogFace, "Caption", Help | Default | Cancel | Apply | Ok |
|
|
|
|
User1 | User2 | User3, Ok, tqparent, name, modal, true,
|
|
|
|
User1 | User2 | User3, Ok, parent, name, modal, true,
|
|
|
|
KStdGuiItem::reset(), KStdGuiItem::close(), KStdGuiItem::adminMode())
|
|
|
|
KStdGuiItem::reset(), KStdGuiItem::close(), KStdGuiItem::adminMode())
|
|
|
|
, dialogface( dialogFace ), d( new KCMultiWidgetPrivate )
|
|
|
|
, dialogface( dialogFace ), d( new KCMultiWidgetPrivate )
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -111,7 +111,7 @@ void KCMultiWidget::slotDefault()
|
|
|
|
|
|
|
|
|
|
|
|
ModuleList::Iterator end = m_modules.end();
|
|
|
|
ModuleList::Iterator end = m_modules.end();
|
|
|
|
for( ModuleList::Iterator it = m_modules.begin(); it != end; ++it )
|
|
|
|
for( ModuleList::Iterator it = m_modules.begin(); it != end; ++it )
|
|
|
|
if( pageIndex( ( TQWidget * )( *it ).kcm->tqparent() ) == curPageIndex )
|
|
|
|
if( pageIndex( ( TQWidget * )( *it ).kcm->parent() ) == curPageIndex )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
( *it ).kcm->defaults();
|
|
|
|
( *it ).kcm->defaults();
|
|
|
|
clientChanged( true );
|
|
|
|
clientChanged( true );
|
|
|
@ -126,7 +126,7 @@ void KCMultiWidget::slotUser1()
|
|
|
|
|
|
|
|
|
|
|
|
ModuleList::Iterator end = m_modules.end();
|
|
|
|
ModuleList::Iterator end = m_modules.end();
|
|
|
|
for( ModuleList::Iterator it = m_modules.begin(); it != end; ++it )
|
|
|
|
for( ModuleList::Iterator it = m_modules.begin(); it != end; ++it )
|
|
|
|
if( pageIndex( ( TQWidget * )( *it ).kcm->tqparent() ) == curPageIndex )
|
|
|
|
if( pageIndex( ( TQWidget * )( *it ).kcm->parent() ) == curPageIndex )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
( *it ).kcm->load();
|
|
|
|
( *it ).kcm->load();
|
|
|
|
clientChanged( false );
|
|
|
|
clientChanged( false );
|
|
|
@ -186,7 +186,7 @@ void KCMultiWidget::slotHelp()
|
|
|
|
int curPageIndex = activePageIndex();
|
|
|
|
int curPageIndex = activePageIndex();
|
|
|
|
ModuleList::Iterator end = m_modules.end();
|
|
|
|
ModuleList::Iterator end = m_modules.end();
|
|
|
|
for( ModuleList::Iterator it = m_modules.begin(); it != end; ++it )
|
|
|
|
for( ModuleList::Iterator it = m_modules.begin(); it != end; ++it )
|
|
|
|
if( pageIndex( ( TQWidget * )( *it ).kcm->tqparent() ) == curPageIndex )
|
|
|
|
if( pageIndex( ( TQWidget * )( *it ).kcm->parent() ) == curPageIndex )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
docPath = ( *it ).kcm->moduleInfo().docPath();
|
|
|
|
docPath = ( *it ).kcm->moduleInfo().docPath();
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|