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.
adept/adept/adept/progress.h

31 lines
516 B

/** -*- C++ -*-
@file adept/progress.h
@author Peter Rockai <me@mornfall.net>
*/
#include <kprogress.h>
#include <kstatusbar.h>
#include <apt-pkg/progress.h>
#ifndef EPT_PROGRESS_H
#define EPT_PROGRESS_H
namespace adept {
class Progress : public OpProgress {
public:
Progress();
virtual ~Progress();
virtual void Update();
virtual void Done();
void setStatusBar( KStatusBar *b ) { m_sbar = b; }
protected:
KProgress *m_pbar;
KStatusBar *m_sbar;
bool m_busy;
};
}
#endif