diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:16:03 +0900 |
commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /doc/html/i18n-example.html | |
parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
download | tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'doc/html/i18n-example.html')
-rw-r--r-- | doc/html/i18n-example.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/i18n-example.html b/doc/html/i18n-example.html index 3ed7e40f5..0163de3b2 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"), tqApp, 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, TQ_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 ); @@ -195,7 +195,7 @@ public: <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,SIGNAL(<a href="ntqsignalmapper.html#mapped">mapped</a>(int)),this,SLOT(done(int))); +<a name="x1946"></a> connect(sm,TQ_SIGNAL(<a href="ntqsignalmapper.html#mapped">mapped</a>(int)),this,TQ_SLOT(done(int))); } void addButtons( const <a href="ntqstring.html">TQString</a>& cancel=TQString::null, const <a href="ntqstring.html">TQString</a>& ok=TQString::null, @@ -216,7 +216,7 @@ public: 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,SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()),sm,SLOT(<a href="ntqsignalmapper.html#map">map</a>())); +<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>())); } private: @@ -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()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>())); + TQObject::<a href="ntqobject.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>(); if ( tight ) { |