summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pprogress.h
blob: 957dce3a98be2c1cbd77365bcd0bd08f7c56a4a0 (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
#ifndef PPROGRESS_H
#define PPROGRESS_H

class PProgress;

#include "../KSProgress/ksprogress.h"
#include "pmessage.h"
//#include "pwidget.h"
#include "pobject.h"
#include "controller.h"

class PProgress : public PWidget {
  TQ_OBJECT
  
public:
  static PObject *createWidget(CreateArgs &ca);

  PProgress ( PObject * parent = 0);
  virtual ~PProgress ();

  virtual void messageHandler(int fd, PukeMessage *pm);

  virtual void setWidget(TQObject *_f);
  virtual KSProgress *widget();

protected slots:
  void cancelPressed();

private:
  KSProgress *ksp;
};

#endif