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

void ConfigureWizard::slotItemModify ( QListViewItem *  item  )  [private, slot]

No descriptions

Definition at line 125 of file configurewizard.cpp.

Referenced by initGUI().

{
      if( (       item->text(0).find("enable")>-1
                  ||  item->text(0).find("disable")>-1
                  ||  item->text(0).find("quiet")>-1
                  ||  item->text(0)=="help"
                  ||  item->text(0)=="version"
                  ||  item->text(0)=="with-gnu-ld"
                  ||  item->text(0)=="with-pic"
                  ||  item->text(0)=="no-create"
                  ) && (item->text(0).find("FEATURE")==-1 ) )
            {
                  if( item->text(1) == i18n("Activate") )
                        item->setText( 1, "" );
                        else
                        item->setText( 1, i18n("Activate") );
            }
            else
            {
            KLineEditDlg argdlg( "<p><b>"+item->text(0)+"</b></p><p>"+i18n("Description : ")+item->text(2)+"</p>", item->text(1), this);
            if(argdlg.exec()) 
                  {
                  if( argdlg.text() == QString::null )
                              item->setText( 1, "" );
                        else
                              item->setText( 1, (argdlg.text()).stripWhiteSpace() );
                  }
            }
}


Generated by  Doxygen 1.6.0   Back to index