-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello I need an expert in qt for a question :-) I have created a class : class KgpgKey : public QObject { ... } typedef QPointer KgpgKeyPtr; class KgpgListKeys : public QList { public: KgpgListKeys(); KgpgListKeys(KgpgKeyPtr key); KgpgListKeys(const KgpgListKeys &other); KgpgListKeys(const QList &other); KgpgListKeys operator+(const KgpgListKeys &other) const; KgpgListKeys &operator<<(KgpgKeyPtr key); KgpgListKeys &operator<<(const KgpgListKeys &l); }; I use KgpgListKeys like that : KgpgListKeys list; KgpgKeyPtr key = new KgpgKey(); list << key; It works very well but my problem is that when "list" is deleted, keys that are in this list are not deleted. Why ? I use QPointer to automaticaly delete keys but it doesn't work. thank you for you help bye -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDVmmgRYBj/6pA3RoRAgxXAKCbne5HyCKhxRWBcciTjtFynxMUSACgrpsg Eg2NME/GZc4E9Gi1YCwXKFc= =Ee0Q -----END PGP SIGNATURE----- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<