src/lddocument.cpp

changeset 1159
6ad8cdcd88d9
parent 1156
c20ee66b6705
child 1186
eae8b3bce545
child 1236
861bf8ebb8ec
equal deleted inserted replaced
1158:35ceb74fe53e 1159:6ad8cdcd88d9
299 history()->add(new AddHistoryEntry {pos, obj}); 299 history()->add(new AddHistoryEntry {pos, obj});
300 connect(obj, SIGNAL(codeChanged(QString,QString)), this, SLOT(objectChanged(QString,QString))); 300 connect(obj, SIGNAL(codeChanged(QString,QString)), this, SLOT(objectChanged(QString,QString)));
301 301
302 #ifdef DEBUG 302 #ifdef DEBUG
303 if (not isFrozen()) 303 if (not isFrozen())
304 dprint ("Inserted object #%1 (%2) at %3\n", obj->id(), obj->typeName(), pos); 304 print("Inserted object #%1 (%2) at %3\n", obj->id(), obj->typeName(), pos);
305 #endif 305 #endif
306 } 306 }
307 307
308 void LDDocument::objectChanged(QString before, QString after) 308 void LDDocument::objectChanged(QString before, QString after)
309 { 309 {

mercurial