KAction KToolBarPopupAction and slot

David Faure faure at kde.org
Sun Nov 26 20:28:41 GMT 2006


On Sun Nov 26 2006, danigm wrote:
> connect( m_paTrashTab, SIGNAL( triggered( Qt::MouseButtons,
> Qt::KeyboardModifiers) ), this, SLOT( slotTrashTab() ) );

Your connect() is failing, the arguments are missing in the slot name above.
Copy/paste them from the SIGNAL() in that connect.

> void KonqMainWindow::slotTrashTab(Qt::MouseButtons buttons,
> Qt::KeyboardModifiers modifiers)

P.S.: you can see failing connect()s on stderr.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list