mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-24 10:52:52 +00:00
32 lines
469 B
C++
32 lines
469 B
C++
#ifndef __PROGRESS_DIALOG_H__
|
|
#define __PROGRESS_DIALOG_H__
|
|
|
|
#include <kdialog.h>
|
|
|
|
#include <QLabel>
|
|
#include <QProgressBar>
|
|
|
|
class ProgressDialog : public KDialog
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit ProgressDialog(QWidget *parent=0, const char *name=0);
|
|
|
|
void setFilesScanned(int s);
|
|
void setFilesToDig(int d);
|
|
void setFilesDigged(int d);
|
|
|
|
void setState(int n);
|
|
|
|
private:
|
|
|
|
QLabel *filesScanned, *check1, *check2, *check3;
|
|
QProgressBar *bar;
|
|
|
|
};
|
|
|
|
|
|
#endif
|