summaryrefslogtreecommitdiffstats
path: root/doc/html/i18n-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/i18n-example.html')
-rw-r--r--doc/html/i18n-example.html12
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-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&amp;xit"), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()),
+ file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("E&amp;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>()-&gt;insertItem( <a href="ntqobject.html#tr">tr</a>("&amp;File"), file );
@@ -229,7 +229,7 @@ MyWidget* showLang(TQString lang)
static TQTranslator *translator = 0;
-<a name="x1934"></a> qApp-&gt;<a href="ntqapplication.html#setPalette">setPalette</a>(TQPalette(TQColor(220-rand()%64,220-rand()%64,220-rand()%64)));
+<a name="x1934"></a> tqApp-&gt;<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-&gt;<a href="ntqapplication.html#removeTranslator">removeTranslator</a>( translator );
+<a name="x1932"></a> tqApp-&gt;<a href="ntqapplication.html#removeTranslator">removeTranslator</a>( translator );
delete translator;
}
translator = new <a href="ntqtranslator.html">TQTranslator</a>( 0 );
<a name="x1950"></a> translator-&gt;<a href="ntqtranslator.html#load">load</a>( lang, "." );
-<a name="x1930"></a> qApp-&gt;<a href="ntqapplication.html#installTranslator">installTranslator</a>( translator );
+<a name="x1930"></a> tqApp-&gt;<a href="ntqapplication.html#installTranslator">installTranslator</a>( translator );
MyWidget *m = new MyWidget;
<a name="x1951"></a> m-&gt;<a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - <a href="i18n.html#i18n">i18n</a> - " + m-&gt;<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-&gt;<a href="ntqapplication.html#desktop">desktop</a>()-&gt;availableGeometry();
+<a name="x1928"></a> <a href="ntqrect.html">TQRect</a> screen = tqApp-&gt;<a href="ntqapplication.html#desktop">desktop</a>()-&gt;availableGeometry();
bool tight = screen.<a href="ntqrect.html#width">width</a>() &lt; 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-&gt;<a href="ntqwidget.html#setGeometry">setGeometry</a>(x,y,197,356);
w-&gt;<a href="ntqwidget.html#show">show</a>();
if ( tight ) {