×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2010
    Location
    Delhi,INDIA
    Posts
    25

    Exclamation How to link a Push Button with a Web link ???

    I'm having a pushButton and i want that if I clicks it it should link to a web page..
    Please give me the source code for it ...

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: How to link a Push Button with a Web link ???

    hello

    have you tries launching the QWebView it will open a browser like element when you click on the button. And there are many examples available on wiki and other sources too

  3. #3
    Registered User
    Join Date
    Dec 2010
    Location
    Delhi,INDIA
    Posts
    25

    Re: How to link a Push Button with a Web link ???

    thanks for your reply but I 'am not getting from it ...So can u give me the code for this ....

  4. #4
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: How to link a Push Button with a Web link ???

    Use this code:
    Code:
    			QDesktopServices::openUrl(QUrl("http://store.ovi.com/content/58487"));
    			exit(0);
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

Similar Threads

  1. S60 browser can not open a link/tab/button with out a D-Pad
    By pak_amar in forum General Development Questions
    Replies: 1
    Last Post: 2010-11-30, 10:04
  2. Wap push link
    By Capatain Future in forum General Messaging
    Replies: 0
    Last Post: 2009-07-30, 14:18
  3. Add link web in Form
    By gemilib in forum Mobile Java General
    Replies: 1
    Last Post: 2008-04-28, 12:37
  4. WAP Push Link visible :(
    By tej007 in forum General Messaging
    Replies: 0
    Last Post: 2008-03-13, 11:16
  5. Web Service Link from Nokia?
    By anders0x in forum General Development Questions
    Replies: 0
    Last Post: 2003-06-18, 16:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×