summaryrefslogtreecommitdiffstats
path: root/src/k9updatefactor.h
blob: 6cec82302c6f97f3144e26f1d476de9307171cad (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 <[email protected]>, (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 <[email protected]>
*/

class k9Main;
class k9UpdateFactor : public TQObject, public TQThread
{
Q_OBJECT
  TQ_OBJECT
private:
    TQMutex m_mutex;
    bool m_restart;
protected:
    void run();
public:
    k9UpdateFactor(TQObject *tqparent = 0, const char *name = 0);

    ~k9UpdateFactor();
    void updateFactor();
signals:
    void updateFactor_internal();

};

#endif