QNetwork

Izyurov izyurov at peterlink.ru
Tue Apr 30 19:48:51 BST 2002


Dear Amit,

it looks like that '+' is missing between '"&newpasswd="' and
'this->newPasswd->text());' in the 4th lione of your code. This may be the
reason of <parse error before `this'> error.

Good luck,
Alex
-----Èñõîäíîå ñîîáùåíèå-----
Îò: Amit Upadhyay <upadhyay at me.iitb.ac.in>
Êîìó: kdevelop at kdevelop.org <kdevelop at kdevelop.org>
Äàòà: 29 àïðåëÿ 2002 ã. 20:40
Òåìà: QNetwork


>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«
>


-
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