[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: problem kdetoys-19990924.tar.bz2
From: Waldo Bastian <bastian () suse ! de>
Date: 1999-09-29 9:03:54
[Download RAW message or body]
On Wed, 29 Sep 1999, Kaoru Fukui wrote:
> From: Waldo Bastian <bastian@suse.de>
> > > > toplevel.cpp: In method `void TopLevel::fileOpen()':
> > > > toplevel.cpp:322: invalid use of undefined type `class KToolBarButton
> '
> > > > /usr/include/ktoolbar.h:186: forward declaration of `class KToolBarButton
> '
> > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> >
> > Or, more likely, toplevel.cpp hasn't included ktoolbarbutton.h yet.
> >
> > Cheers,
> > Waldo
>
> I looked ktoolbar.h.
>
> Class KtoolBarButton is in ktoolbar.h,
> but ktoolbar.h doesn't have "#include <ktoolbarbutton.h>".
>
> it's wrong.
No. Files that need KtoolBarButton need to include ktoolbarbutton.h themselves.
ktoolbar.h only contains a forward declaration of KToolBarButton. The actual declaration
is in ktoolbarbutton.h.
Cheers,
Waldo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic