diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:13:30 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-08-01 04:34:45 +0200 |
commit | e72829f3fa8d309ba0c3f64034c14ce5eecd8590 (patch) | |
tree | ad28ceea8f25258a0f1e4eaf5c08e59f42c23298 /src/electronics/gpsimprocessor.cpp | |
parent | 0e831bb9c456be0d2880357a4bf294369c435984 (diff) | |
download | ktechlab-e72829f3fa8d309ba0c3f64034c14ce5eecd8590.tar.gz ktechlab-e72829f3fa8d309ba0c3f64034c14ce5eecd8590.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit abb8cd68f820cfe0c96965136890a6bdd1093db5)
Diffstat (limited to 'src/electronics/gpsimprocessor.cpp')
-rw-r--r-- | src/electronics/gpsimprocessor.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/electronics/gpsimprocessor.cpp b/src/electronics/gpsimprocessor.cpp index 8ad853c..8e2ccfa 100644 --- a/src/electronics/gpsimprocessor.cpp +++ b/src/electronics/gpsimprocessor.cpp @@ -89,7 +89,7 @@ GpsimProcessor::GpsimProcessor( TQString symbolFile, TQObject *parent ) m_bCanExecuteNextCycle = true; m_bIsRunning = false; m_pPicProcessor = 0l; - m_codLoadtqStatus = CodUnknown; + m_codLoadStatus = CodUnknown; m_pRegisterMemory = 0l; m_debugMode = GpsimDebugger::AsmDebugger; m_pDebugger[0] = m_pDebugger[1] = 0l; @@ -101,37 +101,37 @@ GpsimProcessor::GpsimProcessor( TQString symbolFile, TQObject *parent ) switch ( (cod_errors)load_symbol_file( &tempProcessor, fileName ) ) { case COD_SUCCESS: - m_codLoadtqStatus = CodSuccess; + m_codLoadStatus = CodSuccess; break; case COD_FILE_NOT_FOUND: - m_codLoadtqStatus = CodFileNotFound; + m_codLoadStatus = CodFileNotFound; break; case COD_UNRECOGNIZED_PROCESSOR: - m_codLoadtqStatus = CodUnrecognizedProcessor; + m_codLoadStatus = CodUnrecognizedProcessor; break; case COD_FILE_NAME_TOO_LONG: - m_codLoadtqStatus = CodFileNameTooLong; + m_codLoadStatus = CodFileNameTooLong; break; case COD_LST_NOT_FOUND: - m_codLoadtqStatus = CodLstNotFound; + m_codLoadStatus = CodLstNotFound; break; case COD_BAD_FILE: - m_codLoadtqStatus = CodBadFile; + m_codLoadStatus = CodBadFile; break; default: - m_codLoadtqStatus = CodUnknown; + m_codLoadStatus = CodUnknown; } #else // GPSIM_0_21_11+ FILE * pFile = fopen( fileName, "r" ); if ( !pFile ) - m_codLoadtqStatus = CodFileUnreadable; + m_codLoadStatus = CodFileUnreadable; else - m_codLoadtqStatus = ( ProgramFileTypeList::GetList().LoadProgramFile( & tempProcessor, fileName, pFile ) ) ? CodSuccess : CodFailure; + m_codLoadStatus = ( ProgramFileTypeList::GetList().LoadProgramFile( & tempProcessor, fileName, pFile ) ) ? CodSuccess : CodFailure; #endif m_pPicProcessor = dynamic_cast<pic_processor*>(tempProcessor); - if ( codLoadtqStatus() == CodSuccess ) + if ( codLoadStatus() == CodSuccess ) { m_pRegisterMemory = new RegisterSet( m_pPicProcessor ); m_pDebugger[0] = new GpsimDebugger( GpsimDebugger::AsmDebugger, this ); @@ -154,9 +154,9 @@ GpsimProcessor::~GpsimProcessor() } -void GpsimProcessor::displayCodLoadtqStatus( ) +void GpsimProcessor::displayCodLoadStatus( ) { - switch (m_codLoadtqStatus) + switch (m_codLoadStatus) { case CodSuccess: break; |