diff --git a/jobs/cachegrindjob.h b/jobs/cachegrindjob.h index 65f77c0..9f6418f 100644 --- a/jobs/cachegrindjob.h +++ b/jobs/cachegrindjob.h @@ -1,55 +1,56 @@ /* This file is part of KDevelop Copyright 2011 Mathieu Lornac Copyright 2011 Damien Coppel Copyright 2011 Lionel Duc Copyright 2011 Sebastien Rannou This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef CACHEGRINDJOB_H # define CACHEGRINDJOB_H # include "job.h" namespace valgrind { class KProcessOutputToParser; class CachegrindJob : public Job { + Q_OBJECT public: CachegrindJob(KDevelop::ILaunchConfiguration* cfg, valgrind::Plugin *inst, QObject* parent = 0); virtual ~CachegrindJob(); protected: virtual void processStarted(); virtual void processEnded(); virtual void addToolArgs(QStringList &args, KConfigGroup &cfg) const; private: KProcessOutputToParser *m_postTreatment; QFile *m_file; }; } #endif //!CACHEGRINDJOB_H diff --git a/jobs/callgrindjob.h b/jobs/callgrindjob.h index 579dd73..015cca0 100644 --- a/jobs/callgrindjob.h +++ b/jobs/callgrindjob.h @@ -1,53 +1,54 @@ /* This file is part of KDevelop Copyright 2011 Mathieu Lornac Copyright 2011 Damien Coppel Copyright 2011 Lionel Duc Copyright 2011 Sebastien Rannou Copyright 2011 Lucas Sarie This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef CALLGRINDJOB_H # define CALLGRINDJOB_H #include "job.h" namespace valgrind { class CallgrindJob : public Job { + Q_OBJECT public: CallgrindJob(KDevelop::ILaunchConfiguration* cfg, valgrind::Plugin *inst, QObject* parent = 0); virtual ~CallgrindJob(); protected: virtual void processStarted(); virtual void processEnded(); virtual void addToolArgs(QStringList &args, KConfigGroup &cfg) const; private: KProcessOutputToParser *m_postTreatment; QFile *m_file; }; } #endif //!CALLGRINDJOB_H diff --git a/jobs/massifjob.h b/jobs/massifjob.h index 9614ed2..bdc8d34 100644 --- a/jobs/massifjob.h +++ b/jobs/massifjob.h @@ -1,53 +1,54 @@ /* This file is part of KDevelop Copyright 2011 Mathieu Lornac Copyright 2011 Damien Coppel Copyright 2011 Lionel Duc Copyright 2011 Sebastien Rannou This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef MASSIFJOB_H # define MASSIFJOB_H # include "job.h" namespace valgrind { class MassifJob : public Job { + Q_OBJECT public: MassifJob(KDevelop::ILaunchConfiguration* cfg, valgrind::Plugin *inst, QObject* parent = 0); virtual ~MassifJob(); protected: virtual void processStarted(); virtual void processEnded(); virtual void addToolArgs(QStringList &args, KConfigGroup &cfg) const; private: QFile *m_file; }; } #endif //!MASSIFJOB_H diff --git a/jobs/memcheckjob.h b/jobs/memcheckjob.h index 94ffadd..92a62b9 100644 --- a/jobs/memcheckjob.h +++ b/jobs/memcheckjob.h @@ -1,56 +1,56 @@ /* This file is part of KDevelop Copyright 2011 Mathieu Lornac Copyright 2011 Damien Coppel Copyright 2011 Lionel Duc Copyright 2011 Sebastien Rannou This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef MEMCHECKJOB_H # define MEMCHECKJOB_H # include "job.h" namespace valgrind { class MemcheckJob : public Job { - Q_OBJECT; + Q_OBJECT public: MemcheckJob(KDevelop::ILaunchConfiguration* cfg, valgrind::Plugin *inst, QObject* parent = 0); virtual ~MemcheckJob(); protected: virtual void beforeStart(); virtual void addToolArgs(QStringList &args, KConfigGroup &cfg) const; private slots: void newValgrindConnection(); void socketError(QAbstractSocket::SocketError err); private: QTcpServer* m_server; QTcpSocket* m_connection; }; } #endif //!MEMCHECKJOB_H