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.
tdevelop/languages/cpp/app_templates/kofficepart/kopart_view.h

36 lines
645 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 TDEAction;
class TQPaintEvent;
class %{APPNAME}Part;
class %{APPNAME}View : public KoView
{
Q_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:
//TDEAction* m_cut;
};
#endif