1
/***************************************************************************
2
* Copyright (C) 2010 Alejandro Fiestas Olivares <alex@eyeos.org> *
3
* Copyright (C) 2010 Eduardo Robles Elvira <edulix@gmail.com> *
4
* Copyright (C) 2010 UFO Coders <info@ufocoders.com> *
6
* This program is free software; you can redistribute it and/or modify *
7
* it under the terms of the GNU General Public License as published by *
8
* the Free Software Foundation; either version 2 of the License, or *
9
* (at your option) any later version. *
11
* This program is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
16
* You should have received a copy of the GNU General Public License *
17
* along with this program; if not, write to the *
18
* Free Software Foundation, Inc., *
19
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
20
***************************************************************************/
22
#ifndef AGENTLISTENER_H
23
#define AGENTLISTENER_H
26
#include "agentlistenerworker.h"
30
* @short This class is only a delegate to be able to use agentlistener on a QThread (We can't inherit
32
* This class is only a delegate to be able to use agentlistener on a QThread (We can't inherit
33
* from 2 QObjects, so we had to create a new Class only to do the threading stuff
34
* @ref AgentListenerWorker
37
class AgentListener : public QThread
43
virtual ~AgentListener();
51
AgentListenerWorker *m_worker;
55
#endif // AGENTLISTENER_H