I have this class:
class CustomEdit : public QTextEdit
{
    Q_GADGET
public:
    CustomEdit(QWidget* parent);
public slots:
    void onTextChanged ();
};
CustomEdit::CustomEdit(QWidget* parent)
    : QTextEdit(parent)
{
    connect( this, SIGNAL(textChanged()), this, SLOT(onTextChanged()));
}
void CustomEdit::onTextChanged ()
{
    // ... do stuff
}
The onTextChanged method is never called when I type text into the edit control.
What am I missing?