summaryrefslogtreecommitdiffstats
path: root/ksirc/puke/ptablevw.h
blob: 33ba4015f90075358989ca60e673d0de912af260 (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 PTABLEVIEW_H
#define PTABLEVIEW_H

class PTableView;

#include <qgridview.h>

#include "pmessage.h"
#include "pframe.h"
#include "controller.h"

// Init and setup code
class PTableView : public PFrame
{
  Q_OBJECT
public:
  static PObject *createWidget(CreateArgs &ca);

  PTableView ( PObject * parent );
  virtual ~PTableView ();
  
  virtual void messageHandler(int fd, PukeMessage *pm);
  
  virtual void setWidget(QObject *_tbl);
  virtual QGridView *widget();

public slots:

private:
  QGridView *tbl;
};

#endif