Results 1 to 2 of 2

Thread: SOLVED:Qt::UniqueConnection Question

  1. #1
    Join Date
    Apr 2011
    Posts
    67
    Thanks
    22
    Thanked 5 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default SOLVED:Qt::UniqueConnection Question

    How can i have Qt::UniqueConnection in;

    Qt Code:
    1. connect(ui.tableView->selectionModel(), SIGNAL(currentRowChanged(QModelIndex,QModelIndex)), this, SLOT(getImage(QModelIndex,QModelIndex)));
    To copy to clipboard, switch view to plain text mode 

    in there somewhere?.
    Last edited by thefatladysingsopera; 2nd October 2011 at 21:08. Reason: Fixed the problem

  2. #2
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt::UniqueConnection Question

    Qt Code:
    1. connect(ui.tableView->selectionModel(), SIGNAL(currentRowChanged(QModelIndex,QModelIndex)), this, SLOT(getImage(QModelIndex,QModelIndex)), Qt::UniqueConnection);
    To copy to clipboard, switch view to plain text mode 

  3. The following user says thank you to stampede for this useful post:

    thefatladysingsopera (2nd October 2011)

Similar Threads

  1. Question about Qt+VTK...
    By Patrick Sorcery in forum Qt Programming
    Replies: 0
    Last Post: 11th October 2010, 11:20
  2. Qt::UniqueConnection in linux-sdk-4.6
    By navid in forum Qt Programming
    Replies: 0
    Last Post: 12th December 2009, 09:09
  3. rcc question
    By mojo2000 in forum Newbie
    Replies: 13
    Last Post: 18th November 2009, 22:26
  4. XML question(s)
    By Zzoni in forum Qt Programming
    Replies: 2
    Last Post: 26th July 2009, 22:39
  5. Question
    By Dumbledore in forum Qt Programming
    Replies: 1
    Last Post: 20th October 2007, 23:12

Tags for this Thread

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.