1#ifndef KSPREAD_HANDLER_H
2#define KSPREAD_HANDLER_H
4#include <KoContainerHandler.h>
8#include <KoQueryTrader.h>
28class InsertHandler : public KoEventHandler
33 InsertHandler( View* view, TQWidget* widget );
36 virtual HandlerType getType() = 0;
39 bool eventFilter( TQObject*, TQEvent* );
40 virtual void insertObject( TQRect ) = 0;
43 TQPoint m_geometryStart;
44 TQPoint m_geometryEnd;
52 InsertPartHandler( View* view, TQWidget* widget, const KoDocumentEntry& entry );
53 virtual ~InsertPartHandler();
54 HandlerType getType() { return Part; }
57 void insertObject( TQRect );
59 KoDocumentEntry m_entry;
66 InsertChartHandler( View* view, TQWidget* widget, const KoDocumentEntry& entry );
67 virtual ~InsertChartHandler();
68 HandlerType getType() { return Chart; }
71 void insertObject( TQRect );
73 KoDocumentEntry m_entry;
79 InsertPictureHandler( View* view, TQWidget* widget, const KURL &);
80 virtual ~InsertPictureHandler();
81 HandlerType getType() { return Picture; }
84 void insertObject( TQRect );
This event handler is used to insert a new part.
The View class displays a KSpread document.
|