StatusBar in KMainWindow
David Faure
dfaure at klaralvdalens-datakonsult.se
Thu Mar 13 18:14:21 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 13 March 2003 19:08, Benjamin Meyer wrote:
> On Thursday 13 March 2003 12:50 pm, Maks Orlovich wrote:
> > > > Can I simply call delete on the KAction? Will everything be ok?
> > >
> > > Nope, that would make the xmlgui engine end up with a dangling
> > > pointer and leave the action plugged in the GUI.
> >
> > Is that despite the code in ~KAction that removes it from the
> > m_parentCollection?
>
> What is the difference between take() and remove()? Again neither one is
> documented.
remove() also deletes. See e.g. QPtrList.
- --
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+cMp972KcVAmwbhARAkxNAKCxeSvRyucqM/IS0cay2kAuFlgZ2QCfZF/j
cY4LJgvALLZjncmtm+pqmeM=
=iqqP
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list