[Qt-interest] QT power switch
Thiago Macieira
thiago at kde.org
Tue Nov 24 08:44:44 CET 2009
Em Terça-feira 24. Novembro 2009, às 08.30.35, Thiago Macieira escreveu:
> Em Terça-feira 24. Novembro 2009, às 01.31.02, luis navarro escreveu:
> > That's really a problem because i need this application. So for this case
> > what can we do?
>
> Wait for the authenticationRequired signal and fill in the data that it
> requests.
>
> The other alternative is to fill in the form data and submit it. You can do
> that via JavaScript or via QWebElement (4.6).
A third alternative is to send a POST with the authentication data directly,
as if you had clicked the Submit button in the form. That will probably send a
cookie back to you, which you can use to send the next command.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091124/7e77408c/attachment.bin
More information about the Qt-interest-old
mailing list