add: addWidBool( KOPrefs::instance()->monthViewUsesResourceColorItem(), monthGroup );
context:     KOPrefsDialogViews( QWidget *parent, const char *name )      : KPrefsModule( KOPrefs::instance(), parent, name )    {      QBoxLayout *topTopLayout = new QVBoxLayout( this );      QWidget *topFrame = new QWidget( this );      topTopLayout->addWidget( topFrame );      QBoxLayout *topLayout = new QVBoxLayout( topFrame );      topLayout->setSpacing( KDialog::spacingHint() );      KPrefsWidBool *enableToolTips =          addWidBool( KOPrefs::instance()->enableToolTipsItem(), topFrame );      topLayout->addWidget( enableToolTips->checkBox() );      KPrefsWidBool *showTodosAgenda =          addWidBool( KOPrefs::instance()->showAllDayTodoItem(), topFrame );      topLayout->addWidget( showTodosAgenda->checkBox() );      /*** Date Navigator Group ***/      QGroupBox *dateNavGroup = new QGroupBox( 1, Horizontal,                                               i18n("Date Navigator"),                                               topFrame );      addWidBool( KOPrefs::instance()->dailyRecurItem(), dateNavGroup );      addWidBool( KOPrefs::instance()->weeklyRecurItem(), dateNavGroup );      topLayout->addWidget( dateNavGroup );      /*** Agenda View Group ***/      QGroupBox *agendaGroup = new QGroupBox( 1, Horizontal,                                              i18n("Agenda View"),                                              topFrame );      QHBox *hourSizeBox = new QHBox( agendaGroup );      KPrefsWidInt *hourSize =          addWidInt( KOPrefs::instance()->hourSizeItem(), hourSizeBox );      hourSize->spinBox()->setSuffix(i18n("suffix in the hour size spin box", " pixel"));      new QWidget( hourSizeBox );      QHBox *nextDaysBox = new QHBox( agendaGroup );      KPrefsWidInt *nextDays =        addWidInt( KOPrefs::instance()->nextXDaysItem(), nextDaysBox );      nextDays->spinBox()->setSuffix(i18n("suffix in the N days spin box", " days"));      new QWidget( nextDaysBox );      KPrefsWidBool *marcusBainsEnabled =          addWidBool( KOPrefs::instance()->marcusBainsEnabledItem(), agendaGroup );      KPrefsWidBool *marcusBainsShowSeconds =          addWidBool( KOPrefs::instance()->marcusBainsShowSecondsItem(), agendaGroup );      connect( marcusBainsEnabled->checkBox(), SIGNAL( toggled( bool ) ),               marcusBainsShowSeconds->checkBox(), SLOT( setEnabled( bool ) ) );      addWidBool( KOPrefs::instance()->selectionStartsEditorItem(), agendaGroup );      topLayout->addWidget( agendaGroup );      /*** Month View Group ***/      QGroupBox *monthGroup = new QGroupBox( 1, Horizontal,                                             i18n("Month View"),                                             topFrame );      addWidBool( KOPrefs::instance()->enableMonthScrollItem(), monthGroup );      addWidBool( KOPrefs::instance()->fullViewMonthItem(), monthGroup );      addWidBool( KOPrefs::instance()->monthViewUsesCategoryColorItem(),                      monthGroup );      topLayout->addWidget( monthGroup );      /*** Todo View Group ***/      QGroupBox *todoGroup = new QGroupBox( 1, Horizontal,                                            i18n("To-do View"),                                            topFrame );      addWidBool( KOPrefs::instance()->fullViewTodoItem(), todoGroup );      topLayout->addWidget( todoGroup );      topLayout->addStretch( 1 );      load();    }