summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/pobjfinder.h
blob: 9149aa86c9ce131fc75301a02752be27433ad6b4 (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 POBJFINDER_H
#define POBJFINDER_H

#include "pobject.h"
#include "../objFinder.h"
#include "pmessage.h"
#include "controller.h"


class PObjFinder : public PObject
{
  Q_OBJECT
public:
  static PObject *createWidget(CreateArgs &ca);

  PObjFinder ( PObject * parent );
  virtual ~PObjFinder ();
  
  virtual void messageHandler(int fd, PukeMessage *pm);
  
  virtual void setWidget(QObject *_obj = 0);
  virtual objFinder *widget();

public slots:
  virtual void newObject(QObject *obj);

protected:
  bool checkWidget();

private:
};

#endif