[Qt-interest] translator application not showing the desired result.
Avishek_Sharma
Avishek_Sharma at satyam.com
Tue Mar 3 05:26:19 CET 2009
Hi,
I downloaded an application called 'Google Translate' from qt-apps.org.
The url is :- http://www.qt-apps.org/content/show.php/Google+Translate?content=100039&PHPSESSID=0732da0a50644164183a4b77497d8be4
The application is supposed to function this way-
enter a word in the 'from' textedit box and click 'translate' pushbutton(ofcourse,you have to select the language you want to translate to, from a combobox) and the tranlated text is shown in the 'to' textedit box.The app connects to 'google translate'(a feature in google' http://translate.google.com/translate_t#) to perform the task.
The problem I am facing is that,though the application window shows up but, it doesn't show the translated text.
This is the output when I execute the code:-
[root at localhost bin]# ./Translator
Hello, world!
UI setted
Langs setted
Lang flags configured...
Last pair loaded
Http protocol initialized.
All buttons are connected
****Now enter text in the 'from' textedit box and click 'translate' button****
Starting translation.
Now we know all we need.
Url configured.
Headers configured.
ByteArray completed.
HTTP host setted
Request started (doesn't proceed beyond this)
***Now,If I close the application window****
Last language pair saved
Good bye.
Any idea as to what could be the reason for the code not working.Please check the attachment for the source code.
Thanks,
Avi
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: translate090301.zip
Type: application/zip
Size: 598929 bytes
Desc: translate090301.zip
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090303/071764ad/attachment.zip
More information about the Qt-interest-old
mailing list