interfaces
irun.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef IRUN_H
00021 #define IRUN_H
00022
00023 #include <QtCore/QObject>
00024 #include <QtCore/QSharedDataPointer>
00025
00026 #include <KUrl>
00027
00028 #include "interfacesexport.h"
00029
00030 namespace KDevelop
00031 {
00032
00036 class KDEVPLATFORMINTERFACES_EXPORT IRun
00037 {
00038 public:
00039 IRun();
00040 IRun(const IRun& rhs);
00041 IRun& operator=(const IRun& rhs);
00042 virtual ~IRun();
00043
00047 KUrl executable() const;
00048
00052 void setExecutable(const QString& executable);
00053
00057 KUrl workingDirectory() const;
00058
00062 void setWorkingDirectory(const QString& workingDirectory);
00063
00067 QString environmentKey() const;
00068
00072 void setEnvironmentKey(const QString& environmentKey);
00073
00077 QStringList arguments() const;
00078
00082 void addArgument(const QString& argument);
00083
00087 void setArguments(const QStringList& arguments);
00088
00092 void clearArguments();
00093
00097 QString instrumentor() const;
00098
00102 void setInstrumentor(const QString& instrumentor);
00103
00107 QStringList instrumentorArguments() const;
00108
00112 void addInstrumentorArgument(const QString& argument);
00113
00117 void setInstrumentorArguments(const QStringList& arguments);
00118
00122 void clearInstrumentorArguments();
00123
00124 private:
00125 class IRunPrivate;
00126 QSharedDataPointer<IRunPrivate> d;
00127 };
00128
00129 }
00130
00131 #endif