diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-09-16 16:54:10 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2010-09-16 16:54:10 +0200 |
commit | 9ca9d252235af5031b3a0721284ae11df29a3f88 (patch) | |
tree | 3285000579dea2a52789ad198f5d103b165411c1 /src/plugins/projectexplorer/applicationlauncher.h | |
parent | 60f23d29ae417b42f909264079b6007630594395 (diff) | |
download | qt-creator-9ca9d252235af5031b3a0721284ae11df29a3f88.tar.gz |
Header cleanup: Application launcher.
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.h')
-rw-r--r-- | src/plugins/projectexplorer/applicationlauncher.h | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.h b/src/plugins/projectexplorer/applicationlauncher.h index 63d3eba33c..a35f654eaa 100644 --- a/src/plugins/projectexplorer/applicationlauncher.h +++ b/src/plugins/projectexplorer/applicationlauncher.h @@ -35,19 +35,13 @@ #include <QtCore/QObject> #include <QtCore/QStringList> #include <QtCore/QProcess> -#ifndef Q_OS_WIN -#include <QtCore/QTextCodec> -#endif namespace Utils { class ConsoleProcess; } namespace ProjectExplorer { - -namespace Internal { - class WinGuiProcess; -} +struct ApplicationLauncherPrivate; class PROJECTEXPLORER_EXPORT ApplicationLauncher : public QObject { @@ -59,7 +53,9 @@ public: Gui }; - ApplicationLauncher(QObject *parent = 0); + explicit ApplicationLauncher(QObject *parent = 0); + ~ApplicationLauncher(); + void setWorkingDirectory(const QString &dir); void setEnvironment(const QStringList &env); @@ -90,17 +86,7 @@ private slots: void bringToForeground(); private: - QProcess *m_guiProcess; - Utils::ConsoleProcess *m_consoleProcess; - Mode m_currentMode; - -#ifdef Q_OS_WIN - Internal::WinGuiProcess *m_winGuiProcess; -#else - QTextCodec *m_outputCodec; - QTextCodec::ConverterState m_outputCodecState; - QTextCodec::ConverterState m_errorCodecState; -#endif + QScopedPointer<ApplicationLauncherPrivate> d; }; } // namespace ProjectExplorer |