File: progressdisplaydlg.h

package info (click to toggle)
packagesearch 2.7.5
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 3,248 kB
  • ctags: 2,160
  • sloc: cpp: 12,397; perl: 252; makefile: 69; sh: 13
file content (46 lines) | stat: -rw-r--r-- 933 bytes parent folder | download | duplicates (9)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
//
// C++ Interface: %{MODULE}
//
// Description: 
//
//
// Author: %{AUTHOR} <%{EMAIL}>, (C) %{YEAR}
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef __NUTILPROGRESSDISPLAYDLG_H_2005_03_20
#define __NUTILPROGRESSDISPLAYDLG_H_2005_03_20

#include <QProgressDialog>

#include "iprogressobserver.h"

namespace NUtil 
{

/**
@author Benjamin Mesing
*/
class ProgressDisplayDlg : public QProgressDialog, public IProgressObserver
{
Q_OBJECT
public:
	ProgressDisplayDlg(QWidget *parent = 0, const char *name = 0, bool modal = false);
	virtual ~ProgressDisplayDlg();
	
	/** @name IProgressObserver interface
	  *
	  * These functions implement the IProgressObserver interface.
	  */
	//@{	
	// documented in base class 
	virtual void setAbsoluteProgress(int progress);
	// documented in base class 
	virtual void setText(const QString& text);
	//@}
};

};

#endif	//  __NUTILPROGRESSDISPLAYDLG_H_2005_03_20