summaryrefslogtreecommitdiffstats
path: root/doc/html/i18n-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-02 21:37:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-06 11:24:55 +0900
commit7552c6d73043b1040139033f6864db48ae5446cf (patch)
treef90d24d072dd3ee6a3f909bf7778abc7669f03ef /doc/html/i18n-example.html
parentc113da2069b66130f67a0f27c699e1cec83588a5 (diff)
downloadtqt3-7552c6d73043b1040139033f6864db48ae5446cf.tar.gz
tqt3-7552c6d73043b1040139033f6864db48ae5446cf.zip
Rename main window nt* related files to equivalent tq*. The file
"ntqsession.h" was totally unnecessary and has been removed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/i18n-example.html')
-rw-r--r--doc/html/i18n-example.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/i18n-example.html b/doc/html/i18n-example.html
index 5f976c919..95b03b597 100644
--- a/doc/html/i18n-example.html
+++ b/doc/html/i18n-example.html
@@ -52,10 +52,10 @@ This example shows how to internationalize applications. Start it with
#ifndef MYWIDGET_H
#define MYWIDGET_H
-#include &lt;<a href="qmainwindow-h.html">ntqmainwindow.h</a>&gt;
+#include &lt;<a href="tqmainwindow-h.html">tqmainwindow.h</a>&gt;
#include &lt;<a href="tqstring-h.html">tqstring.h</a>&gt;
-class MyWidget : public <a href="ntqmainwindow.html">TQMainWindow</a>
+class MyWidget : public <a href="tqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
@@ -96,30 +96,30 @@ private:
#include &lt;<a href="qhbox-h.html">ntqhbox.h</a>&gt;
#include &lt;<a href="qvbox-h.html">ntqvbox.h</a>&gt;
#include &lt;<a href="qaccel-h.html">ntqaccel.h</a>&gt;
-#include &lt;<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>&gt;
-#include &lt;<a href="qmenubar-h.html">ntqmenubar.h</a>&gt;
-#include &lt;<a href="qstatusbar-h.html">ntqstatusbar.h</a>&gt;
+#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
+#include &lt;<a href="tqmenubar-h.html">tqmenubar.h</a>&gt;
+#include &lt;<a href="tqstatusbar-h.html">tqstatusbar.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include "mywidget.h"
<a name="f525"></a>MyWidget::MyWidget( <a href="tqwidget.html">TQWidget</a>* parent, const char* name )
- : <a href="ntqmainwindow.html">TQMainWindow</a>( parent, name )
+ : <a href="tqmainwindow.html">TQMainWindow</a>( parent, name )
{
<a href="ntqvbox.html">TQVBox</a>* central = new <a href="ntqvbox.html">TQVBox</a>(this);
<a name="x1923"></a> central-&gt;<a href="ntqframe.html#setMargin">setMargin</a>( 5 );
<a name="x1924"></a> central-&gt;<a href="ntqhbox.html#setSpacing">setSpacing</a>( 5 );
- <a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>(central);
+ <a href="tqmainwindow.html#setCentralWidget">setCentralWidget</a>(central);
- <a href="ntqpopupmenu.html">TQPopupMenu</a>* file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>(this);
- file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("E&amp;xit"), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()),
+ <a href="tqpopupmenu.html">TQPopupMenu</a>* file = new <a href="tqpopupmenu.html">TQPopupMenu</a>(this);
+ file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("E&amp;xit"), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()),
<a name="x1921"></a> TQAccel::<a href="ntqaccel.html#stringToKey">stringToKey</a>(<a href="tqobject.html#tr">tr</a>("Ctrl+Q")) );
- <a href="ntqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( <a href="tqobject.html#tr">tr</a>("&amp;File"), file );
+ <a href="tqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( <a href="tqobject.html#tr">tr</a>("&amp;File"), file );
<a href="tqwidget.html#setCaption">setCaption</a>( <a href="tqobject.html#tr">tr</a>( "Internationalization Example" ) );
<a href="tqstring.html">TQString</a> l;
- <a href="ntqmainwindow.html#statusBar">statusBar</a>()-&gt;message( <a href="tqobject.html#tr">tr</a>("Language: English") );
+ <a href="tqmainwindow.html#statusBar">statusBar</a>()-&gt;message( <a href="tqobject.html#tr">tr</a>("Language: English") );
( void )new <a href="ntqlabel.html">TQLabel</a>( <a href="tqobject.html#tr">tr</a>( "The Main Window" ), central );