Results 1 to 3 of 3

Thread: linkCLicked Signal .

  1. #1
    Join Date
    Jun 2011
    Posts
    8
    Qt products
    Qt3
    Platforms
    MacOS X

    Default linkCLicked Signal .

    Hi,

    While I am trying to use LinkClicked Signal with webPage, in the slot I am not getting any processing.
    Qt Code:
    1. page.linkClicked.connect(this , "clickLink(QUrl)");
    2.  
    3. public void clickLink(QUrl qurl){
    4. System.out.println("test");
    5.  
    6.  
    7. }
    To copy to clipboard, switch view to plain text mode 

    I am not getting "test" printed out on my console . Plzz help me where I am wrong.


    Thanks In Advance

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: linkCLicked Signal .

    Quote Originally Posted by divanshu View Post
    Hi,

    While I am trying to use LinkClicked Signal with webPage, in the slot I am not getting any processing.
    Qt Code:
    1. page.linkClicked.connect(this , "clickLink(QUrl)");
    2.  
    3. public void clickLink(QUrl qurl){
    4. System.out.println("test");
    5.  
    6.  
    7. }
    To copy to clipboard, switch view to plain text mode 

    I am not getting "test" printed out on my console . Plzz help me where I am wrong.


    Thanks In Advance
    What is your programming language???
    A camel can go 14 days without drink,
    I can't!!!

  3. #3
    Join Date
    Jun 2011
    Posts
    8
    Qt products
    Qt3
    Platforms
    MacOS X

    Default Re: linkCLicked Signal .

    I am using Java ... Actually I am using QTJambi ...

Similar Threads

  1. Replies: 2
    Last Post: 3rd May 2011, 20:22
  2. Replies: 3
    Last Post: 2nd April 2011, 13:13
  3. linkClicked signal
    By maston in forum Qt Programming
    Replies: 13
    Last Post: 7th September 2010, 20:26
  4. QWebView linkclicked and form submit
    By maddog_fr in forum Qt Programming
    Replies: 9
    Last Post: 8th August 2009, 20:03
  5. QWebPage::linkClicked() is only emitted once
    By Lykurg in forum Qt Programming
    Replies: 0
    Last Post: 20th November 2008, 12:56

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.