Results 1 to 15 of 15

Thread: problem with forward declaration

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Socorro, NM, USA
    Posts
    29
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanked 3 Times in 3 Posts

    Default Re: problem with forward declaration

    Quote Originally Posted by jacek View Post
    No, there's nothing wrong with it, but you won't be able to use that class outside that .cpp file.
    I stand corrected. Yes you can. I was thinking of the accessability of those classes.
    There are 10 people in the world. Those who understand binary and those who don't.

  2. The following user says thank you to Thomas for this useful post:

    MarkoSan (7th January 2008)

Similar Threads

  1. Forward Class declaration ERROR
    By nleverin in forum Qt Programming
    Replies: 1
    Last Post: 30th July 2007, 09:35
  2. Forward declaration with std namespace
    By Raistlin in forum General Programming
    Replies: 2
    Last Post: 5th March 2007, 21:45
  3. Why forward declaration ?
    By probine in forum General Programming
    Replies: 3
    Last Post: 26th January 2007, 19:22
  4. QTextBrowser Problem
    By Cutey in forum Qt Programming
    Replies: 1
    Last Post: 19th January 2007, 11:19
  5. Compilation problem, don't know why
    By yellowmat in forum Newbie
    Replies: 6
    Last Post: 2nd March 2006, 16: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
  •  
Qt is a trademark of The Qt Company.