Results 1 to 20 of 22

Thread: Is that any problem in my this function?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanked 370 Times in 336 Posts

    Default Re: Is that any problem in my this function?

    stupid question, but maybe couter == 0?
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  2. #2
    Join Date
    Feb 2009
    Location
    Guangzhou,China
    Posts
    89
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    17

    Default Re: Is that any problem in my this function?

    Quote Originally Posted by spirit View Post
    stupid question, but maybe couter == 0?
    No, the couter will increase. I make it draw only couter >0 ;

    Qt Code:
    1. // In the construtor function
    2. connect(oneStepButton,SIGNAL(clicked()),this,SLOT(oneStep()));
    3. connect(runAllButton,SIGNAL(clicked()),this,SLOT(runAll()));
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Replies: 3
    Last Post: 12th March 2012, 02:45
  2. subclassed const function problem
    By qtneuling in forum Newbie
    Replies: 8
    Last Post: 22nd June 2008, 03:52
  3. Function confusion
    By KShots in forum General Programming
    Replies: 3
    Last Post: 26th June 2007, 22:56
  4. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 07:13
  5. K&R's strcpy function - problem with pointers
    By jamadagni in forum General Programming
    Replies: 7
    Last Post: 8th January 2006, 16:16

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
  •  
Qt is a trademark of The Qt Company.