How can I make KDevelop understand my template classes?
Milian Wolff
mail at milianw.de
Wed Mar 19 09:41:00 GMT 2014
On Wednesday 19 March 2014 02:30:10 Aleix Pol wrote:
> On Tue, Mar 18, 2014 at 6:52 PM, Daniel Alves Paladim
<daalpa at gmail.com>wrote:
> > Dear all,
> >
> > KDevelop seems to be unable to "understand" my template class if I divide
> > it in 2 files the following way, one file for the class declaration and
> > another file for the implementation (which is included in the first). This
> > difficults working on the implementation file. I wonder if there is any
> > way
> > to solve this problem without having to change the way I organize things.
> >
> > Thanks,
> > Daniel Alves Paladim
> >
> > _______________________________________________
> > KDevelop mailing list
> > KDevelop at kde.org
> > https://mail.kde.org/mailman/listinfo/kdevelop
>
> Maybe you should take a look at kdevelop/file_templates/classes/qobject/.
> This one also uses different files.
Or are you speaking about C++ template<typename Foo> stuff here? I think so.
In that case where does it brake? When editing the ".hpp" file which does not
include the ".h" file? Without proper code snippets we are left in the dark -
please give us an example code.
Bye
--
Milian Wolff
mail at milianw.de
http://milianw.de
More information about the KDevelop
mailing list