it does not seem possible to move the private classes to a separate private
header, because some data members of those classes are actually define in
the Style class (which is defined in the Style.h)
Pierre
On Sun, Jan 30, 2011 at 2:24 PM, Pierre Stirnweiss <
pstirnwe...@googlemail.com> wrote:
i don't know if this code compiles on other platform. this is the result of
several iterative trials to solve the problem
i think i'll try the separate header file solution.
Pierre
On Sun, Jan 30, 2011 at 2:19 PM, Johannes Simon wrote:
> Looks to me like you can't use a forward-declaration of
Looks to me like you can't use a forward-declaration of CustomStylePrivate to
declare a QSharedDataPointer with. Try putting the class
definition of CustomStylePrivate in its own header (something_p.h) and include
it in Style.h instead of using this forward declaration. And why is it
class Cust
Here is the error: http://paste.kde.org/3643/
Here is the header: http://paste.kde.org/3641/
Here is the cpp: http://paste.kde.org/3642/
These files (header and cpp) are already a modified version of the original
tables/Style.h and Style.cpp, with one of the trials i have already done.
I just don