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.
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
|
|
|
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
|