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

void Kconfigure::slotExecuteConfigure_Help (  )  [private, slot]

Configure --help

Definition at line 470 of file kconfigure.cpp.

References execute(), filePath, ConfigureWizard::getArguments(), headerHTML(), logHtml, logOn, logString, and time.

Referenced by setupMenuBar().

{
      ConfigureWizard cnfdlg(this,"ConfWiz",filePath);

      if(cnfdlg.exec())
      {
            if( cnfdlg.getArguments()!= "" )
            {
                  if( KMessageBox::warningYesNo(this, i18n(" This is an experimental feature.!!\n\nThe arguments are:\n")+cnfdlg.getArguments()+i18n("\n\nAre the arguments correct?"), i18n("Warning"), i18n("&Yes"), i18n("&No"), false) == 4 ) return;
                  execute( "./configure " + cnfdlg.getArguments() );
                  if( logOn )
                  {
                        time.start();
                        if( logHtml )
                              headerHTML( i18n("Configure %1").arg(cnfdlg.getArguments()) );
                        else
                              logString += ">> " + i18n("Configure %1").arg(cnfdlg.getArguments()) + "\n\n";
                  }
            }
      }
}


Generated by  Doxygen 1.6.0   Back to index