libkonq and kactioncollection
Benjamin Meyer
ben at meyerhome.net
Mon Dec 20 18:03:01 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 20 December 2004 12:50 pm, David Faure wrote:
> On Monday 20 December 2004 18:41, Benjamin Meyer wrote:
> > In konq_popupmenu.cc, line 218 (and several other spots in the file) it
> > tries to make a KActionCollection by passing a KActionCollection which is
> > depreciated and disabled by KDE_NO_COMPAT.
> >
> > http://developer.kde.org/documentation/library/cvs-api/kdeui/html/classKA
> >ctionCollection.html#a1
> >
> > I am not quite sure how to fix this one. Anyone have any hints?
>
> You mean m_actions(actions)? m_actions is a reference, not an actual
> KActionCollection object... Do you really get a gcc warning due to
> KDE_DEPRECATED there?
Error :)
konq_popupmenu.cc: In constructor `
KonqPopupMenu::KonqPopupMenu(KBookmarkManager*, const KFileItemList&, KURL,
KActionCollection&, KNewMenu*, bool)':
konq_popupmenu.cc:193: error: invalid conversion from `QObject*' to `QWidget*'
konq_popupmenu.cc:193: error: initializing argument 1 of `
KActionCollection::KActionCollection(QWidget*, const char*, KInstance*)'
konq_popupmenu.cc: In constructor `
KonqPopupMenu::KonqPopupMenu(KBookmarkManager*, const KFileItemList&, KURL,
KActionCollection&, KNewMenu*, QWidget*, bool)':
konq_popupmenu.cc:205: error: invalid conversion from `QObject*' to `QWidget*'
konq_popupmenu.cc:205: error: initializing argument 1 of `
KActionCollection::KActionCollection(QWidget*, const char*, KInstance*)'
konq_popupmenu.cc: In constructor `
KonqPopupMenu::KonqPopupMenu(KBookmarkManager*, const KFileItemList&, const
KURL&, KActionCollection&, KNewMenu*, QWidget*, unsigned int, unsigned int)
':
konq_popupmenu.cc:218: error: invalid conversion from `QObject*' to `QWidget*'
konq_popupmenu.cc:218: error: initializing argument 1 of `
KActionCollection::KActionCollection(QWidget*, const char*, KInstance*)'
distcc[1318] ERROR: compile konq_popupmenu.cc on localhost failed
make[1]: *** [konq_popupmenu.lo] Error 1
- -Benjamin Meyer
- --
aka icefox
Public Key: http://www.icefox.net/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBxxPV1rZ3LTw38vIRApvaAJ4y/2wjMt/Tv3hJFP010EoEGQdBsQCglVUD
2y7H7hC2FquuZMAc2Cmyoi4=
=AGth
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list