Hello,

Suppose I have the following:

QAction *a = ....

a->setData(QString("Hello world"))
QObject::connect(a, ....)

Later in my slot:

QAction *a = QObject::sender();

QString s = a->data()->toString()

This works fine. But I wonder who takes care of disposing the associated action data (in this case the QString)