diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 00:32:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 00:32:19 +0000 |
commit | 0d382a262c0638d0f572fc37193ccc5ed3dc895f (patch) | |
tree | 8578dcddfce4191f3f7a142a37769df7add48475 /src/k9updatefactor.h | |
download | k9copy-0d382a262c0638d0f572fc37193ccc5ed3dc895f.tar.gz k9copy-0d382a262c0638d0f572fc37193ccc5ed3dc895f.zip |
Added old abandoned version of k9copy
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1091546 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/k9updatefactor.h')
-rw-r--r-- | src/k9updatefactor.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/k9updatefactor.h b/src/k9updatefactor.h new file mode 100644 index 0000000..8ca98e2 --- /dev/null +++ b/src/k9updatefactor.h @@ -0,0 +1,42 @@ +// +// 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 <qobject.h> +#include <qthread.h> +#include <qmutex.h> +/** + @author Jean-Michel PETIT <[email protected]> +*/ + +class k9Main; +class k9UpdateFactor : public QObject, public QThread +{ +Q_OBJECT +private: + QMutex m_mutex; + bool m_restart; +protected: + void run(); +public: + k9UpdateFactor(QObject *parent = 0, const char *name = 0); + + ~k9UpdateFactor(); + void updateFactor(); +signals: + void updateFactor_internal(); + +}; + +#endif |