summaryrefslogtreecommitdiffstats
path: root/doc/html/qwerty-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qwerty-example.html')
-rw-r--r--doc/html/qwerty-example.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/qwerty-example.html b/doc/html/qwerty-example.html
index 4c076f173..44b208c0a 100644
--- a/doc/html/qwerty-example.html
+++ b/doc/html/qwerty-example.html
@@ -108,7 +108,7 @@ private:
*****************************************************************************/
#include "qwerty.h"
-#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="tqapplication-h.html">tqapplication.h</a>&gt;
#include &lt;<a href="tqfile-h.html">tqfile.h</a>&gt;
#include &lt;<a href="tqfiledialog-h.html">tqfiledialog.h</a>&gt;
#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
@@ -134,7 +134,7 @@ enum { Uni = 0, MBug = 1, Lat1 = 2, Local = 3, Guess = 4, Codec = 5 };
m = new <a href="tqmenubar.html">TQMenuBar</a>( this, "menu" );
<a href="tqpopupmenu.html">TQPopupMenu</a> * file = new <a href="tqpopupmenu.html">TQPopupMenu</a>();
- <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( file );
+ <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( file );
<a name="x371"></a> m-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "&amp;File", file );
file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "&amp;New", this, TQ_SLOT(newDoc()), ALT+Key_N );
@@ -152,14 +152,14 @@ enum { Uni = 0, MBug = 1, Lat1 = 2, Local = 3, Guess = 4, Codec = 5 };
#endif
file-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "&amp;Close", this, TQ_SLOT(<a href="tqwidget.html#close">close</a>()),ALT+Key_W );
-<a name="x358"></a> file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "&amp;Quit", tqApp, TQ_SLOT(<a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>()), ALT+Key_Q );
+<a name="x358"></a> file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "&amp;Quit", tqApp, TQ_SLOT(<a href="tqapplication.html#closeAllWindows">closeAllWindows</a>()), ALT+Key_Q );
<a name="x386"></a> <a href="tqobject.html#connect">connect</a>( save_as, TQ_SIGNAL(<a href="tqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(saveAsEncoding(int)) );
<a href="tqobject.html#connect">connect</a>( open_as, TQ_SIGNAL(<a href="tqpopupmenu.html#activated">activated</a>(int)), this, TQ_SLOT(openAsEncoding(int)) );
rebuildCodecList();
<a href="tqpopupmenu.html">TQPopupMenu</a> * edit = new <a href="tqpopupmenu.html">TQPopupMenu</a>();
- <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( edit );
+ <a href="tqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( edit );
m-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "&amp;Edit", edit );
edit-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "To &amp;Uppercase", this, TQ_SLOT(toUpper()), ALT+Key_U );
@@ -230,8 +230,8 @@ void <a name="f236"></a>Editor::rebuildCodecList()
void <a name="f237"></a>Editor::newDoc()
{
Editor *ed = new Editor;
- if ( tqApp-&gt;<a href="ntqapplication.html#desktop">desktop</a>()-&gt;size().width() &lt; 450
- || tqApp-&gt;<a href="ntqapplication.html#desktop">desktop</a>()-&gt;size().height() &lt; 450 ) {
+ if ( tqApp-&gt;<a href="tqapplication.html#desktop">desktop</a>()-&gt;size().width() &lt; 450
+ || tqApp-&gt;<a href="tqapplication.html#desktop">desktop</a>()-&gt;size().height() &lt; 450 ) {
<a name="x413"></a> ed-&gt;<a href="tqwidget.html#showMaximized">showMaximized</a>();
} else {
ed-&gt;<a href="tqwidget.html#resize">resize</a>( 400, 400 );
@@ -466,17 +466,17 @@ void <a name="f247"></a>Editor::textChanged()
**
*****************************************************************************/
-#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="tqapplication-h.html">tqapplication.h</a>&gt;
#include "qwerty.h"
int main( int argc, char **argv )
{
- <a href="ntqapplication.html">TQApplication</a> a( argc, argv );
+ <a href="tqapplication.html">TQApplication</a> a( argc, argv );
-<a name="x414"></a> bool isSmall = tqApp-&gt;<a href="ntqapplication.html#desktop">desktop</a>()-&gt;size().width() &lt; 450
- || tqApp-&gt;<a href="ntqapplication.html#desktop">desktop</a>()-&gt;size().height() &lt; 450;
+<a name="x414"></a> bool isSmall = tqApp-&gt;<a href="tqapplication.html#desktop">desktop</a>()-&gt;size().width() &lt; 450
+ || tqApp-&gt;<a href="tqapplication.html#desktop">desktop</a>()-&gt;size().height() &lt; 450;
int i;
for ( i= argc &lt;= 1 ? 0 : 1; i&lt;argc; i++ ) {
@@ -491,8 +491,8 @@ int main( int argc, char **argv )
e-&gt;<a href="tqwidget.html#show">show</a>();
}
}
-<a name="x416"></a> a.<a href="tqobject.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>();
+<a name="x416"></a> a.<a href="tqobject.html#connect">connect</a>( &amp;a, TQ_SIGNAL(<a href="tqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()) );
+ return a.<a href="tqapplication.html#exec">exec</a>();
}
</pre>