void RubySupportPart::savedFile(const KURL &fileName) { kdDebug() << "savedFile()" << endl; if (project()->allFiles().contains(fileName.path().mid ( project()->projectDirectory().length() + 1 ))) { maybeParse(fileName.path()); emit addedSourceInfo( fileName.path() ); } }
void RubySupportPart::addedFilesToProject(const QStringList &fileList) { kdDebug() << "addedFilesToProject()" << endl; QStringList::ConstIterator it; for ( it = fileList.begin(); it != fileList.end(); ++it ) { QString fileName = project()->projectDirectory() + "/" + ( *it ); maybeParse( fileName ); } }
void PythonSupportPart::addedFilesToProject(const QStringList &fileList) { kdDebug(9014) << "addedFilesToProject()" << endl; QStringList::ConstIterator it; for ( it = fileList.begin(); it != fileList.end(); ++it ) { QString fileName = project()->projectDirectory() + "/" + ( *it ); maybeParse( fileName ); emit addedSourceInfo( fileName ); } //emit updatedSourceInfo(); }
void RubySupportPart::initialParse() { kdDebug() << "initialParse()" << endl; if (project()) { kapp->setOverrideCursor(waitCursor); QStringList files = project()->allFiles(); for (QStringList::Iterator it = files.begin(); it != files.end() ;++it) { kdDebug() << "maybe parse " << project()->projectDirectory() + "/" + (*it) << endl; maybeParse(project()->projectDirectory() + "/" + *it); } emit updatedSourceInfo(); kapp->restoreOverrideCursor(); } else { kdDebug() << "No project" << endl; } }