blob: aef4db46fff6f1831c015f57b0ff41f1b5bfdddf (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
// Copyright (c) 2000 Phil Thompson <phil@river-bank.demon.co.uk>
//
// This file contains the definition of the interface to the Kugar KPart.
#ifndef _KUGAR_VIEW_H
#define _KUGAR_VIEW_H
#include "mreportviewer.h"
#include <KoView.h>
class KugarPart;
class KugarView: public KoView
{
TQ_OBJECT
public:
KugarView( KugarPart *part, TQWidget *parent, const char *name );
virtual ~KugarView();
void setForcedUserTemplate( const TQString &name );
void updateReadWrite( bool )
{
;
}
bool renderReport();
bool setReportTemplate( const TQString &data )
{
return view -> setReportTemplate( data );
}
virtual void setupPrinter( KPrinter &printer );
virtual void print( KPrinter &printer );
//protected:
// virtual bool openFile();
// virtual bool closeURL();
private:
Kugar::MReportViewer *view;
TQString m_forcedUserTemplate;
};
#endif
|