Example #1
0
void QtUnit::CreateActions()
{
    showConnections = new QAction("Show connections", this);
    connect(showConnections, SIGNAL(triggered()), this, SLOT(ShowConnections()));
    hideConnections = new QAction("Hide connections", this);
    connect(hideConnections, SIGNAL(triggered()), this, SLOT(HideConnections()));
}
Example #2
0
update_connection_display()
#endif
{
  if (wire_fd == -1)
    {
      if (wire_name) free(wire_name);
      wire_name = (char *)0;
    }
  if (ir_fd == -1)
    {
      if (ir_name) free(ir_name);
      ir_name = (char *)0;
    }
  ShowConnections(wire_name, ir_name);
}