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.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/i18n-example.html b/doc/html/i18n-example.html
index 95b03b597..1b27d851c 100644
--- a/doc/html/i18n-example.html
+++ b/doc/html/i18n-example.html
@@ -167,14 +167,14 @@ void <a name="f526"></a>MyWidget::initChoices(TQWidget* parent)
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include &lt;<a href="qtranslator-h.html">ntqtranslator.h</a>&gt;
-#include &lt;<a href="qfileinfo-h.html">ntqfileinfo.h</a>&gt;
+#include &lt;<a href="tqfileinfo-h.html">tqfileinfo.h</a>&gt;
#include &lt;<a href="qmessagebox-h.html">ntqmessagebox.h</a>&gt;
#include &lt;<a href="qcheckbox-h.html">ntqcheckbox.h</a>&gt;
#include &lt;<a href="qvbox-h.html">ntqvbox.h</a>&gt;
#include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
#include &lt;<a href="qbuttongroup-h.html">ntqbuttongroup.h</a>&gt;
#include &lt;<a href="qpushbutton-h.html">ntqpushbutton.h</a>&gt;
-#include &lt;<a href="qsignalmapper-h.html">ntqsignalmapper.h</a>&gt;
+#include &lt;<a href="tqsignalmapper-h.html">tqsignalmapper.h</a>&gt;
#include &lt;<a href="tqtextcodec-h.html">tqtextcodec.h</a>&gt;
#include &lt;stdlib.h&gt;
@@ -194,8 +194,8 @@ public:
<a href="qvboxlayout.html">TQVBoxLayout</a>* vb = new <a href="qvboxlayout.html">TQVBoxLayout</a>(this,8);
<a name="x1938"></a> vb-&gt;<a href="ntqlayout.html#setAutoAdd">setAutoAdd</a>(TRUE);
hb = 0;
- sm = new <a href="ntqsignalmapper.html">TQSignalMapper</a>(this);
-<a name="x1946"></a> connect(sm,TQ_SIGNAL(<a href="ntqsignalmapper.html#mapped">mapped</a>(int)),this,TQ_SLOT(done(int)));
+ sm = new <a href="tqsignalmapper.html">TQSignalMapper</a>(this);
+<a name="x1946"></a> connect(sm,TQ_SIGNAL(<a href="tqsignalmapper.html#mapped">mapped</a>(int)),this,TQ_SLOT(done(int)));
}
void addButtons( const <a href="tqstring.html">TQString</a>&amp; cancel=TQString::null,
const <a href="tqstring.html">TQString</a>&amp; ok=TQString::null,
@@ -215,12 +215,12 @@ public:
if ( !hb )
hb = new <a href="ntqhbox.html">TQHBox</a>(this);
<a href="ntqpushbutton.html">TQPushButton</a> *c = new <a href="ntqpushbutton.html">TQPushButton</a>(text, hb);
-<a name="x1947"></a> sm-&gt;<a href="ntqsignalmapper.html#setMapping">setMapping</a>(c,result);
-<a name="x1945"></a> connect(c,TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()),sm,TQ_SLOT(<a href="ntqsignalmapper.html#map">map</a>()));
+<a name="x1947"></a> sm-&gt;<a href="tqsignalmapper.html#setMapping">setMapping</a>(c,result);
+<a name="x1945"></a> connect(c,TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()),sm,TQ_SLOT(<a href="tqsignalmapper.html#map">map</a>()));
}
private:
- <a href="ntqsignalmapper.html">TQSignalMapper</a> *sm;
+ <a href="tqsignalmapper.html">TQSignalMapper</a> *sm;
<a href="ntqhbox.html">TQHBox</a> *hb;
};
@@ -232,9 +232,9 @@ MyWidget* showLang(TQString lang)
<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 );
+ <a href="tqfileinfo.html">TQFileInfo</a> fi( lang );
-<a name="x1937"></a> if ( !fi.<a href="ntqfileinfo.html#exists">exists</a>() ) {
+<a name="x1937"></a> if ( !fi.<a href="tqfileinfo.html#exists">exists</a>() ) {
<a name="x1940"></a> TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>( 0, "File error",
TQString("Cannot find translation for language: "+lang+
"\n(try eg. 'de', 'ko' or 'no')") );