KMultiTabBar header problem

Richard Dale Richard_Dale at tipitina.demon.co.uk
Fri Jun 25 00:32:46 BST 2004


A couple of methods have been declared in kmultitabbar.h like this:

	virtual void hideEvent( class QHideEvent*);
	virtual void showEvent( class QShowEvent*);

Even though qevent.h is included via other includes and no forward 
declarations are needed. This compiles fine:

	virtual void hideEvent( QHideEvent*);
	virtual void showEvent( QShowEvent*);

Maybe this isn't normally a problem, but it caused me trouble with generating 
language bindiings code generation for the KMultiTabBarTab and 
KMultiTabBarButton. Could the 'class' keywords be removed as per the attached 
patch?

-- Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmultitabbar.h.patch
Type: text/x-diff
Size: 649 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040625/df8e84e0/attachment.patch>


More information about the kde-core-devel mailing list