diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-02 21:37:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-06 11:24:55 +0900 |
commit | 7552c6d73043b1040139033f6864db48ae5446cf (patch) | |
tree | f90d24d072dd3ee6a3f909bf7778abc7669f03ef /doc/html/i18n-example.html | |
parent | c113da2069b66130f67a0f27c699e1cec83588a5 (diff) | |
download | tqt3-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.html | 22 |
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 <<a href="qmainwindow-h.html">ntqmainwindow.h</a>> +#include <<a href="tqmainwindow-h.html">tqmainwindow.h</a>> #include <<a href="tqstring-h.html">tqstring.h</a>> -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 <<a href="qhbox-h.html">ntqhbox.h</a>> #include <<a href="qvbox-h.html">ntqvbox.h</a>> #include <<a href="qaccel-h.html">ntqaccel.h</a>> -#include <<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>> -#include <<a href="qmenubar-h.html">ntqmenubar.h</a>> -#include <<a href="qstatusbar-h.html">ntqstatusbar.h</a>> +#include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> +#include <<a href="tqmenubar-h.html">tqmenubar.h</a>> +#include <<a href="tqstatusbar-h.html">tqstatusbar.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> #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-><a href="ntqframe.html#setMargin">setMargin</a>( 5 ); <a name="x1924"></a> central-><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-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("E&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-><a href="tqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("E&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>()->insertItem( <a href="tqobject.html#tr">tr</a>("&File"), file ); + <a href="tqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="tqobject.html#tr">tr</a>("&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>()->message( <a href="tqobject.html#tr">tr</a>("Language: English") ); + <a href="tqmainwindow.html#statusBar">statusBar</a>()->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 ); |