From kde-commits Fri Oct 31 00:20:15 2003 From: Jason Keirstead Date: Fri, 31 Oct 2003 00:20:15 +0000 To: kde-commits Subject: kdenetwork/kopete X-MARC-Message: https://marc.info/?l=kde-commits&m=106755965020197 CVS commit by brunes: Port to QPtrList* as discussed on list. NOTE: Because QPtrList is not a QObject, the auto-garbage collection hacking we used to have by re-parenting the KActions is no longer. I have accounted for this everywhere in the code EXCEPT for one Jabber KAction, that is still leaking because there was some fair amounts of code in there I didn't quite understand, so I left it for the Jabber guys to take care of Note also, if anyone uses this function for something in the future, you need to manually delete the QPtrList when you're done with it. CCMAIl:kopete-devel@kde.org M +5 -3 kopete/chatwindow/chatview.cpp 1.99 M +10 -12 libkopete/kopetecontact.cpp 1.159 M +3 -4 libkopete/kopetecontact.h 1.118 M +1 -1 libkopete/kopeteplugin.cpp 1.28 M +1 -1 libkopete/kopeteplugin.h 1.27 M +1 -1 protocols/Makefile.am 1.80 M +1 -1 protocols/gadu/gaducontact.cpp 1.51 M +1 -1 protocols/gadu/gaducontact.h 1.34 M +22 -14 protocols/irc/ircchannelcontact.cpp 1.76 M +1 -2 protocols/irc/ircchannelcontact.h 1.30 M +2 -6 protocols/irc/ircprotocol.cpp 1.138 M +1 -4 protocols/irc/ircprotocol.h 1.68 M +36 -18 protocols/irc/ircusercontact.cpp 1.61 M +1 -2 protocols/irc/ircusercontact.h 1.33 M protocols/irc/icons/cr16-action-irc_op.png 1.2 M +43 -29 protocols/jabber/jabbercontact.cpp 1.158 M +7 -1 protocols/jabber/jabbercontact.h 1.88 M +21 -10 protocols/msn/msncontact.cpp 1.155 M +5 -1 protocols/msn/msncontact.h 1.101 M +0 -2 protocols/oscar/oscarcontact.h 1.74 M +20 -16 protocols/oscar/aim/aimcontact.cpp 1.39 M +5 -1 protocols/oscar/aim/aimcontact.h 1.15 M +17 -11 protocols/oscar/icq/icqcontact.cpp 1.39 M +5 -1 protocols/oscar/icq/icqcontact.h 1.21 M +8 -3 protocols/sms/smscontact.cpp 1.46 M +1 -2 protocols/sms/smscontact.h 1.29 M +1 -1 protocols/testbed/testbedcontact.cpp 1.7 M +1 -1 protocols/testbed/testbedcontact.h 1.4 M +1 -1 protocols/winpopup/wpcontact.cpp 1.47 M +1 -1 protocols/winpopup/wpcontact.h 1.38 M +1 -1 protocols/yahoo/yahoocontact.cpp 1.57 M +1 -1 protocols/yahoo/yahoocontact.h 1.37