Fix a number of accidental tqStatus string conversions

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpicosim@1249829 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent bd18f7704e
commit 49eda0ff22

@ -158,7 +158,7 @@ KPicoSim::KPicoSim() : KMainWindow( 0, "KPicoSim" )
m_serialView = NULL ;
statusBar()->insertItem( TQString( "Mode: Edit" ), 0 ) ;
statusBar()->insertItem( TQString( "tqStatus: Stopped" ), 1 ) ;
statusBar()->insertItem( TQString( "Status: Stopped" ), 1 ) ;
statusBar()->insertItem( TQString( "Instructions: 0" ), 2 ) ;
m_templateFile = "" ;
@ -424,14 +424,14 @@ void KPicoSim::startStop()
m_debugMenu->changeItem( RUN_ID, "Stop" ) ;
m_editor->clearExecutionMarker() ;
m_simulator->run() ;
statusBar()->changeItem( TQString( "tqStatus: Running" ), 1 ) ;
statusBar()->changeItem( TQString( "Status: Running" ), 1 ) ;
m_debugBar->setButton( RUN_ID, true ) ;
} else {
m_simulator->stop() ;
updateViews() ;
m_debugMenu->changeItem( RUN_ID, "Continue" ) ;
m_editor->setExecutionMarker( m_simulator->getNextSourceLine() ) ;
statusBar()->changeItem( TQString( "tqStatus: Stopped" ), 1 ) ;
statusBar()->changeItem( TQString( "Status: Stopped" ), 1 ) ;
TQString str ;
str.sprintf( "Instructions: %u", m_nrInstructions ) ;
statusBar()->changeItem( str, 2 ) ;

@ -59,7 +59,7 @@ KSerialView::KSerialView( CPicoBlaze *cpu, TQWidget * parent ) : TQWidget( paren
label->setFixedSize( 55, 18 ) ;
label = new TQLabel( groupBox ) ;
label->setText( "tqStatus" ) ;
label->setText( "Status" ) ;
label->move( 5, 55 ) ;
label->setFixedSize( 55, 18 ) ;
@ -87,7 +87,7 @@ KSerialView::KSerialView( CPicoBlaze *cpu, TQWidget * parent ) : TQWidget( paren
connect( rxPortID, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( updateRxId( const TQString & ) ) ) ;
connect( statusPortID, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( updateStatusId( const TQString & ) ) ) ;
groupBox = new TQGroupBox( "tqStatus Register", settings ) ;
groupBox = new TQGroupBox( "Status Register", settings ) ;
groupBox->setFixedSize( 200, 80 ) ;
groupBox->move( 250, 0 ) ;

Loading…
Cancel
Save