36 lines
650 B
36 lines
650 B
|
|
/* This template is based off of the KOffice example written by Torben Weis <weis@kde.org
|
|
It was converted to a KDevelop template by Ian Reinhart Geiser <geiseri@yahoo.com>
|
|
*/
|
|
|
|
#ifndef %{APPNAME}_VIEW
|
|
#define %{APPNAME}_VIEW
|
|
|
|
#include <koView.h>
|
|
|
|
class KAction;
|
|
class TQPaintEvent;
|
|
|
|
class %{APPNAME}Part;
|
|
|
|
class %{APPNAME}View : public KoView
|
|
{
|
|
Q_OBJECT
|
|
TQ_OBJECT
|
|
public:
|
|
%{APPNAME}View( %{APPNAME}Part* part, TQWidget* parent = 0, const char* name = 0 );
|
|
|
|
protected slots:
|
|
void cut();
|
|
|
|
protected:
|
|
void paintEvent( TQPaintEvent* );
|
|
|
|
virtual void updateReadWrite( bool readwrite );
|
|
|
|
private:
|
|
//KAction* m_cut;
|
|
};
|
|
|
|
#endif
|