summaryrefslogtreecommitdiffstats
path: root/doc/html/qwerty-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /doc/html/qwerty-example.html
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-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.html28
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-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;File", file );
- file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;New", this, SLOT(newDoc()), ALT+Key_N );
- file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Open...", this, SLOT(load()), ALT+Key_O );
- file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Save...", this, SLOT(save()), ALT+Key_S );
+ file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;New", this, TQ_SLOT(newDoc()), ALT+Key_N );
+ file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Open...", this, TQ_SLOT(load()), ALT+Key_O );
+ file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Save...", this, TQ_SLOT(save()), ALT+Key_S );
<a name="x372"></a> file-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
open_as = new <a href="ntqpopupmenu.html">TQPopupMenu</a>();
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Open &amp;As", open_as );
save_as = new <a href="ntqpopupmenu.html">TQPopupMenu</a>();
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Sa&amp;ve As", save_as );
- file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Add &amp;Encoding", this, SLOT(addEncoding()) );
+ file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Add &amp;Encoding", this, TQ_SLOT(addEncoding()) );
#ifndef TQT_NO_PRINTER
file-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
- file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Print...", this, SLOT(print()), ALT+Key_P );
+ file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Print...", this, TQ_SLOT(print()), ALT+Key_P );
#endif
file-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
- file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Close", this, SLOT(<a href="ntqwidget.html#close">close</a>()),ALT+Key_W );
-<a name="x358"></a> file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Quit", tqApp, SLOT(<a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>()), ALT+Key_Q );
+ file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Close", this, TQ_SLOT(<a href="ntqwidget.html#close">close</a>()),ALT+Key_W );
+<a name="x358"></a> file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;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-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Edit", edit );
- edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "To &amp;Uppercase", this, SLOT(toUpper()), ALT+Key_U );
- edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "To &amp;Lowercase", this, SLOT(toLower()), ALT+Key_L );
+ edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "To &amp;Uppercase", this, TQ_SLOT(toUpper()), ALT+Key_U );
+ edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "To &amp;Lowercase", this, TQ_SLOT(toLower()), ALT+Key_L );
#ifndef TQT_NO_FONTDIALOG
edit-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
- edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Select Font" , this, SLOT(<a href="ntqwidget.html#font">font</a>()), ALT+Key_T );
+ edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;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-&gt;<a href="ntqwidget.html#show">show</a>();
}
}
-<a name="x416"></a> a.<a href="ntqobject.html#connect">connect</a>( &amp;a, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
+<a name="x416"></a> a.<a href="ntqobject.html#connect">connect</a>( &amp;a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
return a.<a href="ntqapplication.html#exec">exec</a>();
}
</pre>