Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b28cc773ef)
r14.1.x
Michele Calgaro 10 months ago
parent 592f28f9ed
commit a125c8f3ff
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -12,7 +12,7 @@ int main(int argc, char **argv)
QPushButton *b = new QPushButton("Show w3.bmp !", v);
MyQT *qt = new MyQT(v);
QVBox::connect(b, SIGNAL(clicked()), qt, SLOT(bind()));
QVBox::connect(b, TQ_SIGNAL(clicked()), qt, TQ_SLOT(bind()));
v->setStretchFactor(qt, 1);

@ -18,7 +18,7 @@ int main(int argc, char **argv)
QPushButton *b = new QPushButton("Show w3.bmp !", v);
MyQGL *gl = new MyQGL(v);
QVBox::connect(b, SIGNAL(clicked()), gl, SLOT(bind()));
QVBox::connect(b, TQ_SIGNAL(clicked()), gl, TQ_SLOT(bind()));
v->setStretchFactor(gl, 1);

Loading…
Cancel
Save