Drop TQT_BASE_OBJECT* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/14/head
Michele Calgaro 1 year ago
parent ec25ca585a
commit 23f635f7a7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -61,7 +61,7 @@ void OpenContextmenu::setup()
void OpenContextmenu::slotRunService() void OpenContextmenu::slotRunService()
{ {
TQCString senderName = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name(); TQCString senderName = sender()->name();
int id = senderName.mid( senderName.find( '_' ) + 1 ).toInt(); int id = senderName.mid( senderName.find( '_' ) + 1 ).toInt();
TQMap<int,KService::Ptr>::Iterator it = m_mapPopup.find( id ); TQMap<int,KService::Ptr>::Iterator it = m_mapPopup.find( id );

Loading…
Cancel
Save