summaryrefslogtreecommitdiffstats
path: root/src/kserialview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-29 16:32:00 +0900
committerMichele Calgaro <[email protected]>2023-12-29 16:32:00 +0900
commit07106c0a34f021d33eecae6571f0a67c990081bd (patch)
tree2a80dba861658d2d64b12c24318c43787c09b721 /src/kserialview.cpp
parent113054cd5b4ce6ed21917e36f30d1fdcf780c525 (diff)
downloadkpicosim-07106c0a34f021d33eecae6571f0a67c990081bd.tar.gz
kpicosim-07106c0a34f021d33eecae6571f0a67c990081bd.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kserialview.cpp')
-rw-r--r--src/kserialview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kserialview.cpp b/src/kserialview.cpp
index b2f5a58..550ed82 100644
--- a/src/kserialview.cpp
+++ b/src/kserialview.cpp
@@ -79,13 +79,13 @@ KSerialView::KSerialView( CPicoBlaze *cpu, TQWidget * parent ) : TQWidget( paren
statusPortID->setFixedSize( 40, 18 ) ;
statusPort->setReadValue( 0 ) ; // Buffers are empty, nothing received.
- connect( txPort, TQT_SIGNAL( write( unsigned char ) ), this, TQT_SLOT( transmit( unsigned char ) ) ) ;
- connect( rxPort, TQT_SIGNAL( read() ), this, TQT_SLOT( receive() ) ) ;
- connect( view, TQT_SIGNAL( keyPressed( int ) ), this, TQT_SLOT( keyPressed( int ) ) ) ;
+ connect( txPort, TQ_SIGNAL( write( unsigned char ) ), this, TQ_SLOT( transmit( unsigned char ) ) ) ;
+ connect( rxPort, TQ_SIGNAL( read() ), this, TQ_SLOT( receive() ) ) ;
+ connect( view, TQ_SIGNAL( keyPressed( int ) ), this, TQ_SLOT( keyPressed( int ) ) ) ;
- connect( txPortID, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( updateTxId( const TQString & ) ) ) ;
- 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 & ) ) ) ;
+ connect( txPortID, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( updateTxId( const TQString & ) ) ) ;
+ connect( rxPortID, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( updateRxId( const TQString & ) ) ) ;
+ connect( statusPortID, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( updateStatusId( const TQString & ) ) ) ;
groupBox = new TQGroupBox( "Status Register", settings ) ;
groupBox->setFixedSize( 200, 80 ) ;
@@ -149,8 +149,8 @@ KSerialView::KSerialView( CPicoBlaze *cpu, TQWidget * parent ) : TQWidget( paren
frame->move( 149, 20 ) ;
frame->setFixedSize( 1, 50 ) ;
- connect( m_statusBits[ 6 ], TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( txFlagsChanged( bool ) ) ) ;
- connect( m_statusBits[ 7 ], TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( txFlagsChanged( bool ) ) ) ;
+ connect( m_statusBits[ 6 ], TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( txFlagsChanged( bool ) ) ) ;
+ connect( m_statusBits[ 7 ], TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( txFlagsChanged( bool ) ) ) ;
fifoPtr = 0 ;