Results 1 to 2 of 2

Thread: problem declaring a class

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    976
    Thanks
    53
    Qt products
    Qt3
    Platforms
    Windows

    Default problem declaring a class

    hi, I coded this; but compiler gets errors on MySubmenu constructor in .cpp ...What's the problem? thanks
    Qt Code:
    1. mypopupmenu.cpp(40): error C2653: 'MySubmenu' : is not a class or namespace name
    2. mypopupmenu.cpp(42): error C2550: 'MySubmenu' : constructor initializer lists are only allowed on constructor definitions
    To copy to clipboard, switch view to plain text mode 
    Attached Files Attached Files
    Regards

Similar Threads

  1. How can i prevent class redefinition problem ?
    By ankurjain in forum General Programming
    Replies: 5
    Last Post: 26th May 2006, 02:35
  2. Replies: 2
    Last Post: 4th May 2006, 19:17
  3. Thread Problem
    By qball2k5 in forum Qt Programming
    Replies: 2
    Last Post: 12th April 2006, 17:31
  4. Replies: 16
    Last Post: 7th March 2006, 15:57
  5. Compilation problem, don't know why
    By yellowmat in forum Newbie
    Replies: 6
    Last Post: 2nd March 2006, 15:36

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.