diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /doc/html/qwerty-example.html | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qwerty-example.html')
-rw-r--r-- | doc/html/qwerty-example.html | 28 |
1 files changed, 14 insertions, 14 deletions
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 }; <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( file ); <a name="x371"></a> m-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&File", file ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&New", this, SLOT(newDoc()), ALT+Key_N ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Open...", this, SLOT(load()), ALT+Key_O ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Save...", this, SLOT(save()), ALT+Key_S ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&New", this, TQ_SLOT(newDoc()), ALT+Key_N ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Open...", this, TQ_SLOT(load()), ALT+Key_O ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Save...", this, TQ_SLOT(save()), ALT+Key_S ); <a name="x372"></a> file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); open_as = new <a href="ntqpopupmenu.html">TQPopupMenu</a>(); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Open &As", open_as ); save_as = new <a href="ntqpopupmenu.html">TQPopupMenu</a>(); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Sa&ve As", save_as ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Add &Encoding", this, SLOT(addEncoding()) ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Add &Encoding", this, TQ_SLOT(addEncoding()) ); #ifndef TQT_NO_PRINTER file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Print...", this, SLOT(print()), ALT+Key_P ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Print...", this, TQ_SLOT(print()), ALT+Key_P ); #endif file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Close", this, SLOT(<a href="ntqwidget.html#close">close</a>()),ALT+Key_W ); -<a name="x358"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, SLOT(<a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>()), ALT+Key_Q ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Close", this, TQ_SLOT(<a href="ntqwidget.html#close">close</a>()),ALT+Key_W ); +<a name="x358"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, TQ_SLOT(<a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>()), ALT+Key_Q ); -<a name="x386"></a> <a href="ntqobject.html#connect">connect</a>( save_as, SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, SLOT(saveAsEncoding(int)) ); - <a href="ntqobject.html#connect">connect</a>( open_as, SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, SLOT(openAsEncoding(int)) ); +<a name="x386"></a> <a href="ntqobject.html#connect">connect</a>( save_as, TQ_SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(saveAsEncoding(int)) ); + <a href="ntqobject.html#connect">connect</a>( open_as, TQ_SIGNAL(<a href="ntqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(openAsEncoding(int)) ); rebuildCodecList(); <a href="ntqpopupmenu.html">TQPopupMenu</a> * edit = new <a href="ntqpopupmenu.html">TQPopupMenu</a>(); <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( edit ); m-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Edit", edit ); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "To &Uppercase", this, SLOT(toUpper()), ALT+Key_U ); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "To &Lowercase", this, SLOT(toLower()), ALT+Key_L ); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "To &Uppercase", this, TQ_SLOT(toUpper()), ALT+Key_U ); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "To &Lowercase", this, TQ_SLOT(toLower()), ALT+Key_L ); #ifndef TQT_NO_FONTDIALOG edit-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Select Font" , this, SLOT(<a href="ntqwidget.html#font">font</a>()), ALT+Key_T ); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Select Font" , this, TQ_SLOT(<a href="ntqwidget.html#font">font</a>()), ALT+Key_T ); #endif changed = FALSE; e = new <a href="ntqmultilineedit.html">TQMultiLineEdit</a>( this, "editor" ); -<a name="x400"></a> <a href="ntqobject.html#connect">connect</a>( e, SIGNAL( <a href="ntqtextedit.html#textChanged">textChanged</a>() ), this, SLOT( textChanged() ) ); +<a name="x400"></a> <a href="ntqobject.html#connect">connect</a>( e, TQ_SIGNAL( <a href="ntqtextedit.html#textChanged">textChanged</a>() ), 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-><a href="ntqwidget.html#show">show</a>(); } } -<a name="x416"></a> a.<a href="ntqobject.html#connect">connect</a>( &a, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &a, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); +<a name="x416"></a> a.<a href="ntqobject.html#connect">connect</a>( &a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); return a.<a href="ntqapplication.html#exec">exec</a>(); } </pre> |