summaryrefslogtreecommitdiffstats
path: root/src/part/progressBox.h
blob: 17cc2a6ab4e78499dc6d3b3b339b72334c857d3e (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
//Author:    Max Howell <[email protected]>, (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