~ubuntu-branches/ubuntu/utopic/kdevplatform/utopic-proposed

« back to all changes in this revision

Viewing changes to plugins/executescript/executescriptplugin.cpp

  • Committer: Package Import Robot
  • Author(s): Scarlett Clark
  • Date: 2014-08-30 03:52:11 UTC
  • mfrom: (0.3.26)
  • Revision ID: package-import@ubuntu.com-20140830035211-wndqlc843eu2v8nk
Tags: 1.7.0-0ubuntu1
* New upstream release
* Add XS-Testsuite: autopkgtest

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
QString ExecuteScriptPlugin::workingDirEntry = "Working Directory";
52
52
QString ExecuteScriptPlugin::executableEntry = "Executable";
53
53
QString ExecuteScriptPlugin::executeOnRemoteHostEntry = "Execute on Remote Host";
 
54
QString ExecuteScriptPlugin::runCurrentFileEntry = "Run current file";
54
55
QString ExecuteScriptPlugin::remoteHostEntry = "Remote Host";
55
56
QString ExecuteScriptPlugin::argumentsEntry = "Arguments";
56
57
QString ExecuteScriptPlugin::isExecutableEntry = "isExecutable";
191
192
    return cfg->config().readEntry( ExecuteScriptPlugin::outputFilteringEntry, 0 );
192
193
}
193
194
 
 
195
bool ExecuteScriptPlugin::runCurrentFile(ILaunchConfiguration* cfg) const
 
196
{
 
197
    if( !cfg )
 
198
    {
 
199
        return false;
 
200
    }
194
201
 
 
202
    return cfg->config().readEntry( ExecuteScriptPlugin::runCurrentFileEntry, true );
 
203
}
195
204
 
196
205
QString ExecuteScriptPlugin::interpreter( KDevelop::ILaunchConfiguration* cfg, QString& err ) const
197
206
{