GitRunner::GitRunner(QObject *parent) :QObject(parent) { m_lastRepoRoot = new KUrl(); //signals connect(this, SIGNAL(isValidDirectory()), this, SLOT(handleIsValidDirectory())); }
bool CvsProxy::prepareJob(CvsJob* job, const QString& repository, enum RequestedOperation op) { // Only do this check if it's a normal operation like diff, log ... // For other operations like "cvs import" isValidDirectory() would fail as the // directory is not yet under CVS control if (op == CvsProxy::NormalOperation && !isValidDirectory(repository)) { kDebug(9500) << repository << " is not a valid CVS repository"; return false; } // clear commands and args from a possible previous run job->clear(); // setup the working directory for the new job job->setDirectory(repository); return true; }