Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/14/head
Michele Calgaro 11 months ago
parent bca6608668
commit b28cc773ef
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); QPushButton *b = new QPushButton("Show w3.bmp !", v);
MyQT *qt = new MyQT(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); v->setStretchFactor(qt, 1);

@ -18,7 +18,7 @@ int main(int argc, char **argv)
QPushButton *b = new QPushButton("Show w3.bmp !", v); QPushButton *b = new QPushButton("Show w3.bmp !", v);
MyQGL *gl = new MyQGL(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); v->setStretchFactor(gl, 1);

Loading…
Cancel
Save