summaryrefslogtreecommitdiffstats
path: root/src/k9updatefactor.h
blob: 3220dfa4ef9a1f3da6eb57218c84de77a8d051f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// 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
{
Q_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