The QSignalMapper class bundles signals from identifiable senders. More...
#include <qsignalmapper.h>
Inherits QObject.
Collects a set of parameterless signals, re-emitting them with an integer or string parameters corresponding to the object which sent the signal.
Examples: i18n/main.cpp
Constructs a QSignalMapper. Like all QObjects, it will be deleted when the parent is deleted.
Destructs the QSignalMapper.
[slot]
This slot emits signals based on which object sends signals to it.
[signal]
This signal is emitted when map() is signalled from an object which has a string mapping set.
See also setMapping(QString).
[signal]
This signal is emitted when map() is signalled from an object which has an integer mapping set.
See also setMapping(int).
Removes all mappings for sender. This is done automatically when mapped objects are destroyed.
[virtual]
Adds a mapping such that when map() is signalled from the given sender, the signal mapper(identifier) is emitted.
There may be at most one string identifier for each object, and it may not be null.
Examples: i18n/main.cpp
[virtual]
Adds a mapping such that when map() is signalled from the given sender, the signal mapped(identifier) is emitted.
There may be at most one integer identifier for each object.
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit, copyright © 1995-2000 Trolltech, all rights reserved.
Copyright İ 2000 Trolltech | Trademarks | Qt version 2.2.1
|