Example #1
0
void
Controller::removeMappings()
{
#if HAVE_LIBUPNP
    removeMappings(PortType::UDP);
    removeMappings(PortType::TCP);
#endif
}
Example #2
0
Controller::~Controller()
{
    /* remove all mappings */
    removeMappings();
    if (listToken_ and upnpContext_)
        upnpContext_->removeIGDListener(listToken_);
}
Example #3
0
void ActionSignalMapper::slotActionDestroyed(QObject *which)
{
    QAction *asAction = qobject_cast<QAction*>(which);
    if (asAction) {
        removeMappings(asAction);
    }
}
Example #4
0
void WSignalMapper::senderDestroyed(WObject *sender)
{
  removeMappings(sender);
}