diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-10 10:12:24 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 09:56:53 +0900 |
| commit | 947bc2dba5274c3a87dd0f3dc29972b5a7fde80f (patch) | |
| tree | 8dece4fa4ebb9fa43f8660095f8084ea580ee2eb /PerlTQt/examples/network/httpd/httpd.pl | |
| parent | bb06ec358695c7621148fd6cf0c2af94fd29f799 (diff) | |
| download | libtqt-perl-947bc2dba5274c3a87dd0f3dc29972b5a7fde80f.tar.gz libtqt-perl-947bc2dba5274c3a87dd0f3dc29972b5a7fde80f.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 301b5380792b7a368488aa485d3bdb3df81e0808)
Diffstat (limited to 'PerlTQt/examples/network/httpd/httpd.pl')
| -rw-r--r-- | PerlTQt/examples/network/httpd/httpd.pl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/PerlTQt/examples/network/httpd/httpd.pl b/PerlTQt/examples/network/httpd/httpd.pl index a9aa0fd..dee279b 100644 --- a/PerlTQt/examples/network/httpd/httpd.pl +++ b/PerlTQt/examples/network/httpd/httpd.pl @@ -39,8 +39,8 @@ sub NEW sub newConnection { my $s = TQt::Socket( this ); - this->connect( $s, TQT_SIGNAL 'readyRead()', this, TQT_SLOT 'readClient()' ); - this->connect( $s, TQT_SIGNAL 'delayedCloseFinished()', this, TQT_SLOT 'discardClient()' ); + this->connect( $s, TQ_SIGNAL 'readyRead()', this, TQ_SLOT 'readClient()' ); + this->connect( $s, TQ_SIGNAL 'delayedCloseFinished()', this, TQ_SLOT 'discardClient()' ); $s->setSocket( shift ); sockets->{ $s } = $s; emit newConnect(); @@ -106,10 +106,10 @@ sub NEW $lb->setAlignment( &AlignHCenter ); infoText = TextView( this ); my $quit = PushButton( "quit" , this ); - this->connect( httpd, TQT_SIGNAL 'newConnect()', TQT_SLOT 'newConnect()' ); - this->connect( httpd, TQT_SIGNAL 'endConnect()', TQT_SLOT 'endConnect()' ); - this->connect( httpd, TQT_SIGNAL 'wroteToClient()', TQT_SLOT 'wroteToClient()' ); - this->connect( $quit, TQT_SIGNAL 'pressed()', TQt::app(), TQT_SLOT 'quit()' ); + this->connect( httpd, TQ_SIGNAL 'newConnect()', TQ_SLOT 'newConnect()' ); + this->connect( httpd, TQ_SIGNAL 'endConnect()', TQ_SLOT 'endConnect()' ); + this->connect( httpd, TQ_SIGNAL 'wroteToClient()', TQ_SLOT 'wroteToClient()' ); + this->connect( $quit, TQ_SIGNAL 'pressed()', TQt::app(), TQ_SLOT 'quit()' ); } sub newConnect |
