[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: private slots
From: Tobias Koenig <tokoe () kde ! org>
Date: 2007-01-04 9:48:44
Message-ID: 20070104094844.GA2817 () ghostdog ! localnet
[Download RAW message or body]
On Wed, Jan 03, 2007 at 04:05:49PM +0100, Simon Hausmann wrote:
> Hi,
Hi Simon,
> If that moc generated code is included from within the .cpp file (like we
> fortunately do most of the time in KDE) d is well-defined and the compiler
> can call your private slot, which is now just a member function of your d
> pointer.
I tried this approach in a qmake based project and it didn't work since
qmake always creates moc_foo.cpp instead of foo.moc, so during the
compilation of moc_foo.cpp gcc complains about the unknown class 'd'.
Any idea how to fix this issue?
Ciao,
Tobias
--
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
["signature.asc" (application/pgp-signature)]
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic