diff options
Diffstat (limited to 'doc/html/i18n-example.html')
-rw-r--r-- | doc/html/i18n-example.html | 18 |
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 <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="qtranslator-h.html">ntqtranslator.h</a>> -#include <<a href="qfileinfo-h.html">ntqfileinfo.h</a>> +#include <<a href="tqfileinfo-h.html">tqfileinfo.h</a>> #include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> #include <<a href="qcheckbox-h.html">ntqcheckbox.h</a>> #include <<a href="qvbox-h.html">ntqvbox.h</a>> #include <<a href="qlayout-h.html">ntqlayout.h</a>> #include <<a href="qbuttongroup-h.html">ntqbuttongroup.h</a>> #include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> -#include <<a href="qsignalmapper-h.html">ntqsignalmapper.h</a>> +#include <<a href="tqsignalmapper-h.html">tqsignalmapper.h</a>> #include <<a href="tqtextcodec-h.html">tqtextcodec.h</a>> #include <stdlib.h> @@ -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-><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>& cancel=TQString::null, const <a href="tqstring.html">TQString</a>& 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-><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-><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-><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')") ); |