You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koffice/kugar/part/kugar_view.h

55 lines
947 B

// 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
{
Q_OBJECT
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