/* qdict_get_obj(): Get a QObject of a specific type  */
static QObject* qdict_get_obj(const QDict *qdict, const char *key, qtype_code type)
/* qdict_get_obj(): Get a QObject of a specific type  */
static QObject* qdict_get_obj(const QDict *qdict, const char *key, qtype_code type)
{
    QObject *obj;
    obj = qdict_get(qdict, key);
    assert(obj != NULL);
    assert(qobject_type(obj) == type);
    return obj;
}