summaryrefslogtreecommitdiffstats
path: root/examples/i18n/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/i18n/main.cpp
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz
tqt-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 'examples/i18n/main.cpp')
-rw-r--r--examples/i18n/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/i18n/main.cpp b/examples/i18n/main.cpp
index 700547ef5..8e8e8661a 100644
--- a/examples/i18n/main.cpp
+++ b/examples/i18n/main.cpp
@@ -37,7 +37,7 @@ public:
vb->setAutoAdd(TRUE);
hb = 0;
sm = new TQSignalMapper(this);
- connect(sm,SIGNAL(mapped(int)),this,SLOT(done(int)));
+ connect(sm,TQ_SIGNAL(mapped(int)),this,TQ_SLOT(done(int)));
}
void addButtons( const TQString& cancel=TQString::null,
const TQString& ok=TQString::null,
@@ -58,7 +58,7 @@ public:
hb = new TQHBox(this);
TQPushButton *c = new TQPushButton(text, hb);
sm->setMapping(c,result);
- connect(c,SIGNAL(clicked()),sm,SLOT(map()));
+ connect(c,TQ_SIGNAL(clicked()),sm,TQ_SLOT(map()));
}
private:
@@ -135,7 +135,7 @@ int main( int argc, char** argv )
MyWidget* w = showLang((const char*)qm[i]);
if( w == 0 ) exit( 0 );
- TQObject::connect(w, SIGNAL(closed()), tqApp, SLOT(quit()));
+ TQObject::connect(w, TQ_SIGNAL(closed()), tqApp, TQ_SLOT(quit()));
w->setGeometry(x,y,197,356);
w->show();
if ( tight ) {