diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 16:32:00 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:18:51 +0900 |
| commit | 7825473df272b5d0fe2ff7a87910ed06865bfc67 (patch) | |
| tree | 2a80dba861658d2d64b12c24318c43787c09b721 /src/kportview.cpp | |
| parent | bb32ffafc904de3a070c8132721ac19bea77da4a (diff) | |
| download | kpicosim-7825473d.tar.gz kpicosim-7825473d.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 07106c0a34f021d33eecae6571f0a67c990081bd)
Diffstat (limited to 'src/kportview.cpp')
| -rw-r--r-- | src/kportview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kportview.cpp b/src/kportview.cpp index f26d997..b20a7c8 100644 --- a/src/kportview.cpp +++ b/src/kportview.cpp @@ -48,7 +48,7 @@ KPortView::KPortView( CPicoBlaze *cpu, TQWidget *parent, const char *name) m_editID->setText( "0" ) ; m_editID->setFixedSize( 30, 20 ) ; m_editID->move( 2, 22 ); - connect( m_editID, TQT_SIGNAL( textChanged( const TQString &) ), this, TQT_SLOT( setID( const TQString &) ) ) ; + connect( m_editID, TQ_SIGNAL( textChanged( const TQString &) ), this, TQ_SLOT( setID( const TQString &) ) ) ; int i ; for ( i = 0 ; i < 8 ; i++ ) { @@ -65,10 +65,10 @@ KPortView::KPortView( CPicoBlaze *cpu, TQWidget *parent, const char *name) m_port = new KPort( 0 ) ; m_cpu->addPort( m_port ) ; - connect( m_port, TQT_SIGNAL( read() ), this, TQT_SLOT( read() ) ) ; - connect( m_port, TQT_SIGNAL( write(unsigned char) ), this, TQT_SLOT( write(unsigned char) ) ) ; - connect( m_readable, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( readableToggled(bool) ) ) ; - connect( m_writeable, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( writeableToggled(bool) ) ) ; + connect( m_port, TQ_SIGNAL( read() ), this, TQ_SLOT( read() ) ) ; + connect( m_port, TQ_SIGNAL( write(unsigned char) ), this, TQ_SLOT( write(unsigned char) ) ) ; + connect( m_readable, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( readableToggled(bool) ) ) ; + connect( m_writeable, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( writeableToggled(bool) ) ) ; setWidget( widget ) ; setCloseMode( Always ) ; |
