View Single Post
Posts: 124 | Thanked: 10 times | Joined on Jan 2007 @ Italy
#7
thanks for explanation joorin

Originally Posted by Venemo View Post

You can basically serialize a QList<T> if T is serializable. (Meaning: it has a << operator.)
that's why i said that << and >> work well with "Service*". so T is serializable!

Originally Posted by Venemo View Post
I wrote for myself a class called QSettingsManager for this purpose. You can view the code here and the entire app in this repository.
is this?!
http://vcs.maemo.org/svn/eve-watcher...ngsmanager.cpp


now i'm going to try this:
1) put away QList<> from the heap
2) try to use QList<Service> instead of QList<Service*>
3) if 2 won't work, i'll try to save element by element.


@gri, if i can use non-pointer to do that...i wonder...when a pointer is necessary!?