Trying to find a Qt-signals-and-slots equivalent. Calling the .discard() method on an object breaks all connections to and from it, so that it may be garbage collected. The test that this really works fails, because "gc code [... has no ...] deterministic finalization" [Walter, http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/9969]. * Compile on Linux: make * Run on Linux: examples/test