I've read that you can use typedef to create a alias of a datatype, as example:
typedef long miles; // define miles as an alias for long
but then I saw this code:
typedef QWidget * (*createModule_t)(QWidget *, const char *, const QXmlAttributes *);
typedef void (*destroyModule_t)(QWidget *);
what happens in these 2 lines?
(QXmlAttributes and QWidget are classes)