• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

interfaces

irun.h

00001 /* This file is part of KDevelop
00002 Copyright 2007 Hamish Rodda <rodda@kde.org>
00003 
00004 This library is free software; you can redistribute it and/or
00005 modify it under the terms of the GNU Library General Public
00006 License as published by the Free Software Foundation; either
00007 version 2 of the License, or (at your option) any later version.
00008 
00009 This library is distributed in the hope that it will be useful,
00010 but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012 Library General Public License for more details.
00013 
00014 You should have received a copy of the GNU Library General Public License
00015 along with this library; see the file COPYING.LIB.  If not, write to
00016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017 Boston, MA 02110-1301, USA.
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

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  •     interfaces
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal