FougTools
0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
|
#include <qttools/core/unique_id.h>
Classes | |
struct | RegisterResult |
Stores the result of UniqueId::registerId() More... | |
Static Public Member Functions | |
static RegisterResult | registerId (int min, int max=INT_MAX) |
Registers a new unique index. More... | |
static bool | isRegistered (int id) |
Has id already been registered with UniqueId::registerId() ? More... | |
Provides services around creation of (app execution scope) unique indexes
|
static |
Has id
already been registered with UniqueId::registerId() ?
|
static |
Registers a new unique index.
Returns a value between min
and max
that has not yet been registered.
This is a generalization of QEvent::registerEventType()