Пример #1
0
void VcsCommand::emitRepositoryChanged(const QString &workingDirectory)
{
    if (m_preventRepositoryChanged || !(flags() & VcsCommand::ExpectRepoChanges))
        return;
    // TODO tell the document manager that the directory now received all expected changes
    // Core::DocumentManager::unexpectDirectoryChange(d->m_workingDirectory);
    Core::VcsManager::emitRepositoryChanged(workDirectory(workingDirectory));
}
Пример #2
0
void ShellCommand::addJob(const Utils::FileName &binary, const QStringList &arguments, int timeoutS,
                          const QString &workingDirectory, const ExitCodeInterpreter &interpreter)
{
    d->m_jobs.push_back(Internal::ShellCommandPrivate::Job(workDirectory(workingDirectory), binary,
                                                           arguments, timeoutS, interpreter));
}
Пример #3
0
/**
 * @fn logOutput
 */
QString QueuedProcess::logOutput() const
{
    return QString("%1/%2-out.log").arg(workDirectory()).arg(name());
}
Пример #4
0
/**
 * @fn logError
 */
QString QueuedProcess::logError() const
{
    return QString("%1/%2-err.log").arg(workDirectory()).arg(name());
}