From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- tools/designer/examples/addressbook/addressbook.ui.h | 8 ++++---- tools/designer/examples/addressbook/main.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tools/designer/examples/addressbook') diff --git a/tools/designer/examples/addressbook/addressbook.ui.h b/tools/designer/examples/addressbook/addressbook.ui.h index 83d177573..93f3d50e5 100644 --- a/tools/designer/examples/addressbook/addressbook.ui.h +++ b/tools/designer/examples/addressbook/addressbook.ui.h @@ -16,14 +16,14 @@ void AddressBook::fileNew() { AddressDetails dia( this, 0, TRUE ); - connect( &dia, SIGNAL( newAddress( const TQString &, + connect( &dia, TQ_SIGNAL( newAddress( const TQString &, const TQString &, const TQString &, const TQString &, const TQString &, const TQString &, const TQString & ) ), - this, SLOT( insertAddress( const TQString &, + this, TQ_SLOT( insertAddress( const TQString &, const TQString &, const TQString &, const TQString &, @@ -118,8 +118,8 @@ void AddressBook::fileExit() void AddressBook::editFind() { SearchDialog dia( this, 0, TRUE ); - connect( &dia, SIGNAL( searchAddress( const TQString & ) ), - this, SLOT( searchAddress( const TQString & ) ) ); + connect( &dia, TQ_SIGNAL( searchAddress( const TQString & ) ), + this, TQ_SLOT( searchAddress( const TQString & ) ) ); dia.exec(); } diff --git a/tools/designer/examples/addressbook/main.cpp b/tools/designer/examples/addressbook/main.cpp index 4b80e6d3e..0359e37c0 100644 --- a/tools/designer/examples/addressbook/main.cpp +++ b/tools/designer/examples/addressbook/main.cpp @@ -6,6 +6,6 @@ int main( int argc, char ** argv ) TQApplication a( argc, argv ); AddressBook *w = new AddressBook; w->show(); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); + a.connect( &a, TQ_SIGNAL( lastWindowClosed() ), &a, TQ_SLOT( quit() ) ); return a.exec(); } -- cgit v1.2.1