You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
510 B
34 lines
510 B
//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
|