Results 1 to 9 of 9

Thread: Pointers to Member Functions

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Berkeley California
    Posts
    109
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 1 Time in 1 Post

    Default Re: Pointers to Member Functions

    Oops, you're right, the actual line that is generating the error is the edited one:

    Validated_State = (State_Tbl[Object].*pValidator)(Requested_State);

    My mistake in copying/simplifying the code and having 'pValidate_State' instead of the correct 'pValidator' here. It still gets the 'pValidator undeclared' error.

    Doug

  2. #2
    Join Date
    Jan 2006
    Location
    Berkeley California
    Posts
    109
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 1 Time in 1 Post

    Default Re: Pointers to Member Functions

    Just realized one problem, I haven't instantiated any State objects yet to point to!

    My newbe status reveals itself yet again.

    Doug

Similar Threads

  1. Qtopia core 4.2.2 cross compile make error
    By smiyai18 in forum Installation and Deployment
    Replies: 2
    Last Post: 28th August 2007, 17:04
  2. Replies: 2
    Last Post: 16th March 2007, 09:04
  3. array of pointers to functions
    By moowy in forum General Programming
    Replies: 3
    Last Post: 19th October 2006, 10:48
  4. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52
  5. emiting signals from const member functions !?
    By sunil.thaha in forum Qt Programming
    Replies: 2
    Last Post: 25th March 2006, 11:29

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.