1  | QTextEdit *editor = new QTextEdit(this);  | 
1  | connect(editor->document(),SIGNAL(contentsChanged()),this,SLOT(textAreaChanged()));  | 
1  | private slots:  | 
1  | QTextEdit *editor = new QTextEdit(this);  | 
1  | connect(editor->document(),SIGNAL(contentsChanged()),this,SLOT(textAreaChanged()));  | 
1  | private slots:  |