Re: QTextEdit and EditEvent
Srry but i didnt see signal "textChanged()"
Re: QTextEdit and EditEvent
This code probably won't work correctly in any case, since you aren't allowing the QTextEdit base class to be properly constructed. Your code should look like this:
Code:
#include "mytextedit.h"
MyTextEdit
::MyTextEdit(QWidget *parent
), isEdited( false )
{
}
The base class constructor must be called in order to properly construct the entire inheritance hierarchy. There is no need to call setParent() (which you probably did because things weren't working right, I'll bet), because invoking the base class constructor does that already.
Re: QTextEdit and EditEvent