476
460
connect(m_doc, SIGNAL(documentNameChanged(KTextEditor::Document*)), this, SLOT(slotFileNameChanged()));
477
461
connect(m_doc, SIGNAL(documentUrlChanged(KTextEditor::Document*)), this, SLOT(slotFileNameChanged()));
478
462
connect(m_doc, SIGNAL(completed()), this, SLOT(slotCompleted()));
479
connect(m_doc, SIGNAL(modifiedChanged(KTextEditor::Document*)), this, SLOT(makeDirtyIfModified()));
480
463
// this could be a KatePart bug, and as "work-around" we manually set the highlighting mode again
481
464
connect(m_doc, SIGNAL(completed()), this, SLOT(activateDefaultMode()));