I've got classes set up like so (where an indent is inherits from):
Qt Code:
  1. Wizzy
  2. BranchWizzy
  3. InputWizzy
  4. LoopWizzy
  5. NamedWizzy
  6. DatumWizzy
  7. ProcedureWizzy
  8. OutputWizzy
  9. SinkWizzy
  10. SourceWizzy
To copy to clipboard, switch view to plain text mode 

The problem is that when I try to include and use any class at the same level (e.g. Have an OutputWizzy create a BranchWizzy) it won't compile and gives the following message when trying to instantiate a BranchWizzy:
Qt Code:
  1. OutputWizzy.cpp: In constructor `OutputWizzy::OutputWizzy(QObject*)':
  2. OutputWizzy.cpp:9: error: `b' undeclared (first use this function)
  3. OutputWizzy.cpp:9: error: (Each undeclared identifier is reported only once for each function it appears in.)
  4. OutputWizzy.cpp:9: error: `BranchWizzy' is not a type
To copy to clipboard, switch view to plain text mode 

I'm using Qt 4.4.3 and mingw on Windows XP.
Everything compiles fine if I don't have a Wizzy subclass try to use any other Wizzy subclass.

Here's a snip of the Wizzy.h:
Qt Code:
  1. #ifndef WIZZY_H
  2. #define WIZZY_H
  3.  
  4. #include "Property.h"
  5. #include <QtGui>
  6.  
  7. class WizzyConnectionPoint;
  8.  
  9. class Wizzy : public QObject, public QGraphicsPixmapItem
  10. {
  11. Q_OBJECT
  12.  
  13. public:
  14. Wizzy( QObject* = NULL );
  15. ~Wizzy();
  16. /* snip */
  17. };
  18. #endif
To copy to clipboard, switch view to plain text mode 

The Wizzy subclasses inherit the Wizzy class in a similar manner. I am simply out of ideas of why one subclass "can't see" another.

Any ideas? I can post any other code anyone would like to see. Thanks!