You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
//
|
|
|
|
// C++ Interface: k9updatefactor
|
|
|
|
//
|
|
|
|
// Description:
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Author: Jean-Michel PETIT <k9copy@free.fr>, (C) 2007
|
|
|
|
//
|
|
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
|
|
//
|
|
|
|
//
|
|
|
|
#ifndef K9UPDATEFACTOR_H
|
|
|
|
#define K9UPDATEFACTOR_H
|
|
|
|
|
|
|
|
#include "k9common.h"
|
|
|
|
#include <tqobject.h>
|
|
|
|
#include <tqthread.h>
|
|
|
|
#include <tqmutex.h>
|
|
|
|
/**
|
|
|
|
@author Jean-Michel PETIT <k9copy@free.fr>
|
|
|
|
*/
|
|
|
|
|
|
|
|
class k9Main;
|
|
|
|
class k9UpdateFactor : public TQObject, public TQThread
|
|
|
|
{
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
private:
|
|
|
|
TQMutex m_mutex;
|
|
|
|
bool m_restart;
|
|
|
|
protected:
|
|
|
|
void run();
|
|
|
|
public:
|
|
|
|
k9UpdateFactor(TQObject *parent = 0, const char *name = 0);
|
|
|
|
|
|
|
|
~k9UpdateFactor();
|
|
|
|
void updateFactor();
|
|
|
|
signals:
|
|
|
|
void updateFactor_internal();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|