summaryrefslogtreecommitdiffstats
path: root/src/part/progressBox.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-03 01:26:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-03 01:26:04 +0000
commit3c7b870f367df150ea60eb9d6bb2fd41646545d7 (patch)
treeac8705b4703cebb5031f9443eafd3e429a17ac1a /src/part/progressBox.h
downloadfilelight-3c7b870f367df150ea60eb9d6bb2fd41646545d7.tar.gz
filelight-3c7b870f367df150ea60eb9d6bb2fd41646545d7.zip
Added abandoned Filelight application
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/filelight@1084392 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/part/progressBox.h')
-rw-r--r--src/part/progressBox.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/part/progressBox.h b/src/part/progressBox.h
new file mode 100644
index 0000000..17cc2a6
--- /dev/null
+++ b/src/part/progressBox.h
@@ -0,0 +1,32 @@
+//Author: Max Howell <max.howell@methylblue.com>, (C) 2003-4
+//Copyright: See COPYING file that comes with this distribution
+
+#ifndef PROGRESSBOX_H
+#define PROGRESSBOX_H
+
+#include <qlabel.h>
+#include <qtimer.h>
+
+namespace KIO { class Job; }
+
+
+class ProgressBox : public QLabel
+{
+Q_OBJECT
+
+public:
+ ProgressBox( QWidget*, QObject* );
+
+ void setText( int );
+
+public slots:
+ void start();
+ void report();
+ void stop();
+ void halt();
+
+private:
+ QTimer m_timer;
+};
+
+#endif