diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/html/i18n-example.html | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip |
Rename ntqwidget* related files to equivalent tqwidget*
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 f1e56a39f..da9d1c7e5 100644 --- a/doc/html/i18n-example.html +++ b/doc/html/i18n-example.html @@ -60,7 +60,7 @@ class MyWidget : public <a href="ntqmainwindow.html">TQMainWindow</a> <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: - MyWidget( <a href="ntqwidget.html">TQWidget</a>* parent=0, const char* name = 0 ); + MyWidget( <a href="tqwidget.html">TQWidget</a>* parent=0, const char* name = 0 ); signals: void closed(); @@ -103,7 +103,7 @@ private: #include "mywidget.h" -<a name="f525"></a>MyWidget::MyWidget( <a href="ntqwidget.html">TQWidget</a>* parent, const char* name ) +<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="ntqvbox.html">TQVBox</a>* central = new <a href="ntqvbox.html">TQVBox</a>(this); @@ -116,7 +116,7 @@ private: <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="ntqwidget.html#setCaption">setCaption</a>( <a href="tqobject.html#tr">tr</a>( "Internationalization Example" ) ); + <a href="tqwidget.html#setCaption">setCaption</a>( <a href="tqobject.html#tr">tr</a>( "Internationalization Example" ) ); <a href="ntqstring.html">TQString</a> l; <a href="ntqmainwindow.html#statusBar">statusBar</a>()->message( <a href="tqobject.html#tr">tr</a>("Language: English") ); @@ -146,9 +146,9 @@ void <a name="f526"></a>MyWidget::initChoices(TQWidget* parent) <a name="x1925"></a> lb-><a href="ntqlistbox.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>( choices[i] ) ); } -<a name="x1927"></a>void MyWidget::<a href="ntqwidget.html#closeEvent">closeEvent</a>(TQCloseEvent* e) +<a name="x1927"></a>void MyWidget::<a href="tqwidget.html#closeEvent">closeEvent</a>(TQCloseEvent* e) { - TQWidget::<a href="ntqwidget.html#closeEvent">closeEvent</a>(e); + TQWidget::<a href="tqwidget.html#closeEvent">closeEvent</a>(e); emit closed(); } </pre> @@ -248,7 +248,7 @@ MyWidget* showLang(TQString lang) <a name="x1950"></a> translator-><a href="ntqtranslator.html#load">load</a>( lang, "." ); <a name="x1930"></a> tqApp-><a href="ntqapplication.html#installTranslator">installTranslator</a>( translator ); MyWidget *m = new MyWidget; -<a name="x1951"></a> m-><a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - <a href="i18n.html#i18n">i18n</a> - " + m-><a href="ntqwidget.html#caption">caption</a>() ); +<a name="x1951"></a> m-><a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - <a href="i18n.html#i18n">i18n</a> - " + m-><a href="tqwidget.html#caption">caption</a>() ); return m; } @@ -294,8 +294,8 @@ int main( int argc, char** argv ) if( w == 0 ) exit( 0 ); TQObject::<a href="tqobject.html#connect">connect</a>(w, TQ_SIGNAL(closed()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>())); -<a name="x1953"></a> w-><a href="ntqwidget.html#setGeometry">setGeometry</a>(x,y,197,356); - w-><a href="ntqwidget.html#show">show</a>(); +<a name="x1953"></a> w-><a href="tqwidget.html#setGeometry">setGeometry</a>(x,y,197,356); + w-><a href="tqwidget.html#show">show</a>(); if ( tight ) { x += 8; y += 8; @@ -313,10 +313,10 @@ int main( int argc, char** argv ) } } else { <a href="ntqstring.html">TQString</a> lang = argv[1]; - <a href="ntqwidget.html">TQWidget</a>* m = showLang(lang); + <a href="tqwidget.html">TQWidget</a>* m = showLang(lang); app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( m ); - m-><a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - i18n"); - m-><a href="ntqwidget.html#show">show</a>(); + m-><a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - i18n"); + m-><a href="tqwidget.html#show">show</a>(); } #ifdef USE_I18N_FONT |