summaryrefslogtreecommitdiffstats
path: root/src/part/progressBox.h
blob: acd605ceca226170a858af7c0fe5e6cb16a8f90b (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
  TQ_OBJECT

public:
    ProgressBox( TQWidget*, TQObject* );

    void setText( int );

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

private:
    TQTimer m_timer;
};

#endif