QNetwork

Amit Upadhyay upadhyay at me.iitb.ac.in
Mon Apr 29 17:37:51 BST 2002


hi,

i am new to qt programming, am trying to access a webpage using
qurloperator....

    QUrlOperator *urlop 
("http://192.168.6.67/~upadhyay/railways/changepass.php?login=" +
this->login->text() +
"&oldpasswd="+this->oldPasswd->text()+"&newpasswd="this->newPasswd->text());
    urlop->get();

    connect ( urlop, SIGNAL(finished(QNetworkOperation *op)), this, 
newSlotT (QNetworkOperation *op));  
    


have added the slots using edit slot tool... 
but am getting, 

Changepasswd.ui.h: In method `void
ChangePasswd::chPasswdSlot ()': 
changepasswd.ui.h:34: parse error before `this' 
changepasswd.ui.h:35: request for member `get' in `urlop', which is of 
non-aggregate type `QUrlOperator *() (...)' 
changepasswd.ui.h:37: parse error before `*' 
gmake[2]: Leaving directory `/home/upadhyay/work/railways/railways' 
gmake[2]: *** [changepasswd.o] Error 1 


pl help...
regards,


--
Amit Upadhyay
Senior Undergraduate Student
Department of Mechanical Engg.
IIT-Bombay

If you sneeze too hard, you can fracture a rib. If you try to suppress a
sneeze, you can rupture a blood vessel in your head or neck and die. If
you keep your eyes open by force, they will pop out.





-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list