diff options
Diffstat (limited to 'doc/html/i18n-example.html')
-rw-r--r-- | doc/html/i18n-example.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/i18n-example.html b/doc/html/i18n-example.html index a517c9493..88a09baa5 100644 --- a/doc/html/i18n-example.html +++ b/doc/html/i18n-example.html @@ -112,7 +112,7 @@ private: <a href="ntqmainwindow.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="ntqobject.html#tr">tr</a>("E&xit"), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&xit"), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), <a name="x1921"></a> TQAccel::<a href="ntqaccel.html#stringToKey">stringToKey</a>(<a href="ntqobject.html#tr">tr</a>("Ctrl+Q")) ); <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="ntqobject.html#tr">tr</a>("&File"), file ); @@ -229,7 +229,7 @@ MyWidget* showLang(TQString lang) static TQTranslator *translator = 0; -<a name="x1934"></a> qApp-><a href="ntqapplication.html#setPalette">setPalette</a>(TQPalette(TQColor(220-rand()%64,220-rand()%64,220-rand()%64))); +<a name="x1934"></a> tqApp-><a href="ntqapplication.html#setPalette">setPalette</a>(TQPalette(TQColor(220-rand()%64,220-rand()%64,220-rand()%64))); lang = "mywidget_" + lang + ".qm"; <a href="ntqfileinfo.html">TQFileInfo</a> fi( lang ); @@ -241,12 +241,12 @@ MyWidget* showLang(TQString lang) return 0; } if ( translator ) { -<a name="x1932"></a> qApp-><a href="ntqapplication.html#removeTranslator">removeTranslator</a>( translator ); +<a name="x1932"></a> tqApp-><a href="ntqapplication.html#removeTranslator">removeTranslator</a>( translator ); delete translator; } translator = new <a href="ntqtranslator.html">TQTranslator</a>( 0 ); <a name="x1950"></a> translator-><a href="ntqtranslator.html#load">load</a>( lang, "." ); -<a name="x1930"></a> qApp-><a href="ntqapplication.html#installTranslator">installTranslator</a>( translator ); +<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>() ); return m; @@ -284,7 +284,7 @@ int main( int argc, char** argv ) <a name="x1936"></a> r = dlg.<a href="ntqdialog.html#exec">exec</a>(); } if ( r ) { -<a name="x1928"></a> <a href="ntqrect.html">TQRect</a> screen = qApp-><a href="ntqapplication.html#desktop">desktop</a>()->availableGeometry(); +<a name="x1928"></a> <a href="ntqrect.html">TQRect</a> screen = tqApp-><a href="ntqapplication.html#desktop">desktop</a>()->availableGeometry(); bool tight = screen.<a href="ntqrect.html#width">width</a>() < 1024; <a name="x1942"></a> int x=screen.<a href="ntqrect.html#left">left</a>()+5; int y=screen.<a href="ntqrect.html#top">top</a>()+25; @@ -293,7 +293,7 @@ int main( int argc, char** argv ) MyWidget* w = showLang((const char*)qm[i]); if( w == 0 ) exit( 0 ); - TQObject::<a href="ntqobject.html#connect">connect</a>(w, SIGNAL(closed()), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); + TQObject::<a href="ntqobject.html#connect">connect</a>(w, SIGNAL(closed()), tqApp, 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>(); if ( tight ) { |