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 --- doc/html/qwerty-example.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'doc/html/qwerty-example.html') diff --git a/doc/html/qwerty-example.html b/doc/html/qwerty-example.html index 5f6350856..8ac0112c6 100644 --- a/doc/html/qwerty-example.html +++ b/doc/html/qwerty-example.html @@ -138,40 +138,40 @@ enum { Uni = 0, MBug = 1, Lat1 = 2, Local = 3, Guess = 4, Codec = 5 }; TQ_CHECK_PTR( file ); m->insertItem( "&File", file ); - file->insertItem( "&New", this, SLOT(newDoc()), ALT+Key_N ); - file->insertItem( "&Open...", this, SLOT(load()), ALT+Key_O ); - file->insertItem( "&Save...", this, SLOT(save()), ALT+Key_S ); + file->insertItem( "&New", this, TQ_SLOT(newDoc()), ALT+Key_N ); + file->insertItem( "&Open...", this, TQ_SLOT(load()), ALT+Key_O ); + file->insertItem( "&Save...", this, TQ_SLOT(save()), ALT+Key_S ); file->insertSeparator(); open_as = new TQPopupMenu(); file->insertItem( "Open &As", open_as ); save_as = new TQPopupMenu(); file->insertItem( "Sa&ve As", save_as ); - file->insertItem( "Add &Encoding", this, SLOT(addEncoding()) ); + file->insertItem( "Add &Encoding", this, TQ_SLOT(addEncoding()) ); #ifndef TQT_NO_PRINTER file->insertSeparator(); - file->insertItem( "&Print...", this, SLOT(print()), ALT+Key_P ); + file->insertItem( "&Print...", this, TQ_SLOT(print()), ALT+Key_P ); #endif file->insertSeparator(); - file->insertItem( "&Close", this, SLOT(close()),ALT+Key_W ); - file->insertItem( "&Quit", tqApp, SLOT(closeAllWindows()), ALT+Key_Q ); + file->insertItem( "&Close", this, TQ_SLOT(close()),ALT+Key_W ); + file->insertItem( "&Quit", tqApp, TQ_SLOT(closeAllWindows()), ALT+Key_Q ); - connect( save_as, SIGNAL(activated(int)), this, SLOT(saveAsEncoding(int)) ); - connect( open_as, SIGNAL(activated(int)), this, SLOT(openAsEncoding(int)) ); + connect( save_as, TQ_SIGNAL(activated(int)), this, TQ_SLOT(saveAsEncoding(int)) ); + connect( open_as, TQ_SIGNAL(activated(int)), this, TQ_SLOT(openAsEncoding(int)) ); rebuildCodecList(); TQPopupMenu * edit = new TQPopupMenu(); TQ_CHECK_PTR( edit ); m->insertItem( "&Edit", edit ); - edit->insertItem( "To &Uppercase", this, SLOT(toUpper()), ALT+Key_U ); - edit->insertItem( "To &Lowercase", this, SLOT(toLower()), ALT+Key_L ); + edit->insertItem( "To &Uppercase", this, TQ_SLOT(toUpper()), ALT+Key_U ); + edit->insertItem( "To &Lowercase", this, TQ_SLOT(toLower()), ALT+Key_L ); #ifndef TQT_NO_FONTDIALOG edit->insertSeparator(); - edit->insertItem( "&Select Font" , this, SLOT(font()), ALT+Key_T ); + edit->insertItem( "&Select Font" , this, TQ_SLOT(font()), ALT+Key_T ); #endif changed = FALSE; e = new TQMultiLineEdit( this, "editor" ); - connect( e, SIGNAL( textChanged() ), this, SLOT( textChanged() ) ); + connect( e, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( textChanged() ) ); // We use Unifont - if you have it installed you'll see all // Unicode character glyphs. @@ -492,7 +492,7 @@ int main( int argc, char **argv ) e->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