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

void LinkerOptionsDlg::accept (  ) 

Called when the 'OK' button is pressed. User entered values are read in.

Definition at line 191 of file projectdlgs.cpp.

{
      hide();
      
      QStringList linkedInternal;
      for ( QListViewItemIterator internalIt( m_pWidget->m_pInternalLibraries ); internalIt.current(); ++internalIt )
      {
            QCheckListItem * item = static_cast<QCheckListItem*>(internalIt.current());
            if ( item->isOn() )
                  linkedInternal << item->text();
      }
      m_pLinkerOptions->setLinkedInternal( linkedInternal );
      
      m_pLinkerOptions->setLinkedExternal( m_pWidget->m_pExternalLibraries->items() );
      m_pLinkerOptions->setHexFormat( (LinkerOptions::HexFormat::type) m_pWidget->m_pHexFormat->currentItem() );
      m_pLinkerOptions->setOutputMapFile( m_pWidget->m_pOutputMap->isChecked() );
      m_pLinkerOptions->setLibraryDir( m_pWidget->m_pLibraryDir->text() );
      m_pLinkerOptions->setLinkerScript( m_pWidget->m_pLinkerScript->text() );
      m_pLinkerOptions->setLinkerOther( m_pWidget->m_pOther->text() );
}


Generated by  Doxygen 1.6.0   Back to index