From: Bosselut C. <bos...@b1...> - 2003-10-14 17:47:36
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I can't compile CVS * In file included from recipelist.cpp:11:=20 * recipelist.h:19: parse error before `<' token=20 * recipelist.h:23: destructors must be member functions=20 * recipelist.h:25: parse error before `}' token=20 * recipelist.cpp:16: invalid use of undefined type `class RecipeList'=20 * recipelist.h:19: forward declaration of `class RecipeList'=20 * recipelist.cpp: In constructor `RecipeList::RecipeList()':=20 * recipelist.cpp:16: type `class QValueList<Recipe>' is not a direct base o= f=20 `RecipeList'=20 * recipelist.cpp: At global scope:=20 * recipelist.cpp:20: invalid use of undefined type `class RecipeList'=20 * recipelist.h:19: forward declaration of `class RecipeList'=20 * gmake[2]: *** [recipelist.lo] Erreur 1=20 * Bye, Cyril. Le Mardi 14 Octobre 2003 17:04, Unai Garro a =E9crit : > Ok, I did the very most simple implementation of the RecipeList (just > inherits QValueList <Recipe> so far :) ) > > The reason I chose QValueList is that developers suggest using it instead > of QPtrList, since QPtrList may dissappear in Qt4. The usage is similar > although it uses an iterator, > > The biggest difference is that the values (not pointers) are copied > (doesn't work with pointers, unless you do it that way). From what I saw = it > should be easy to port current existing classes. > > Oh, I'll try to fully feature the RecipeList class later with search > functions, etc. Right now, you can use it just as a QValueList <Recipe> > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Krecipes-devel mailing list > Kre...@li... > https://lists.sourceforge.net/lists/listinfo/krecipes-devel =2D --=20 D=E9mocrite avait trouv=E9 la mani=E8re la plus philosophique de jouir de la nature et des hommes; savoir, d'=E9tudier l'une et de rire des autres. D'Alembert =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/jDaP9J4lbJfupC0RAhkoAJ4/P3Seo0DTX06zKuDs1F72jvMGugCeK31X zoNTVuw4+6ZfLddhel31mQA=3D =3D6o9B =2D----END PGP SIGNATURE----- |