#include <kspread_handler.h>

Inherits KoEventHandler.

Inherited by KSpread::InsertChartHandler, KSpread::InsertPartHandler, and KSpread::InsertPictureHandler.

Public Member Functions

 InsertHandler (View *view, TQWidget *widget)
 
virtual HandlerType getType ()=0
 

Protected Member Functions

bool eventFilter (TQObject *, TQEvent *)
 
virtual void insertObject (TQRect)=0
 

Protected Attributes

View * m_view
 
TQPoint m_geometryStart
 
TQPoint m_geometryEnd
 
bool m_started
 
bool m_clicked
 

Detailed Description

This event handler is used to insert a new part.

The event handler takes care of selecting the rectangle at which the new part will appear.

Definition at line 28 of file kspread_handler.h.

Constructor & Destructor Documentation

◆ InsertHandler()

InsertHandler::InsertHandler ( View *  view,
TQWidget *  widget 
)

Definition at line 15 of file kspread_handler.cpp.

◆ ~InsertHandler()

InsertHandler::~InsertHandler ( )

Definition at line 25 of file kspread_handler.cpp.

Member Function Documentation

◆ eventFilter()

bool InsertHandler::eventFilter ( TQObject *  ,
TQEvent *  ev 
)
protected

Definition at line 31 of file kspread_handler.cpp.

Member Data Documentation

◆ m_clicked

bool KSpread::InsertHandler::m_clicked
protected

Definition at line 46 of file kspread_handler.h.

◆ m_geometryEnd

TQPoint KSpread::InsertHandler::m_geometryEnd
protected

Definition at line 44 of file kspread_handler.h.

◆ m_geometryStart

TQPoint KSpread::InsertHandler::m_geometryStart
protected

Definition at line 43 of file kspread_handler.h.

◆ m_started

bool KSpread::InsertHandler::m_started
protected

Definition at line 45 of file kspread_handler.h.

◆ m_view

View* KSpread::InsertHandler::m_view
protected

Definition at line 42 of file kspread_handler.h.


The documentation for this class was generated from the following files: