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 /libk9copy/k9progress.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 'libk9copy/k9progress.h')
-rw-r--r-- | libk9copy/k9progress.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/libk9copy/k9progress.h b/libk9copy/k9progress.h new file mode 100644 index 0000000..9c88490 --- /dev/null +++ b/libk9copy/k9progress.h @@ -0,0 +1,58 @@ +// +// C++ Interface: +// +// Description: +// +// +// Author: Jean-Michel PETIT <k9copy@free.fr>, (C) 2006 +// +// Copyright: See COPYING file that comes with this distribution +// +// + +#ifndef K9PROGRESS_H +#define K9PROGRESS_H + +#include "k9common.h" +#include "../libk9copy/progress.h" +#include <k9process.h> +#include <qimage.h> +#include <qtimer.h> +#include "k9drawimage.h" + +class k9Progress : public Progress { + Q_OBJECT + +public: + k9Progress(QWidget* parent = 0, const char* name = 0, const QStringList &args=0); + ~k9Progress(); + virtual k9Process * getProcess() const; + virtual void setProgress(long _position,long _total); + virtual void setLabelText(const QString _text); + virtual void setElapsed(const QString _text); + virtual void setTitle(const QString _text); + virtual void setImage(QString _fileName) ; + virtual void setImage(const QImage &_image); + virtual void setMovie(QString _fileName); + + virtual int execute(); + + bool getCanceled() const; + + /*$PUBLIC_FUNCTIONS$*/ + +public slots: + /*$PUBLIC_SLOTS$*/ + +protected: + /*$PROTECTED_FUNCTIONS$*/ + k9Process *m_process; + k9DrawImage *m_wimage; + void bCancelClick(); + bool m_canceled; +protected slots: + /*$PROTECTED_SLOTS$*/ +}; + +#endif + |