summaryrefslogtreecommitdiffstats
path: root/src/part/progressBox.h
blob: c7cf61ebc3e5cc763b0d02b2fcd1d04bf3ffde05 (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
//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 <tqlabel.h>
#include <tqtimer.h>

namespace KIO { class Job; }


class ProgressBox : public TQLabel
{
Q_OBJECT
  

public:
    ProgressBox( TQWidget*, TQObject* );

    void setText( int );

public slots:
    void start();
    void report();
    void stop();
    void halt();

private:
    TQTimer m_timer;
};

#endif