kword

#include <KWFrameView.h>

Inheritance diagram for TableFramePolicy:
FramePolicy

Public Member Functions

 TableFramePolicy (KWFrameView *view)
MouseMeaning mouseMeaning (const KoPoint &point, int keyState)
TQPopupMenu * createPopup (const KoPoint &point, KWView *view)
void setSelected (MouseMeaning selectPolicy)
Public Member Functions inherited from FramePolicy
 FramePolicy (KWFrameView *view)

Protected Member Functions

MouseMeaning mouseMeaningOnBorder (const KoPoint &point, int keyState)
Protected Member Functions inherited from FramePolicy
void addFloatingAction (KWView *view, TQPtrList< TDEAction > &actionList)

Additional Inherited Members

Protected Attributes inherited from FramePolicy
KWFrameView * m_view
TDEActionSeparator * m_separator

Detailed Description

A policy for Table Frames.

Definition at line 156 of file KWFrameView.h.

Constructor & Destructor Documentation

◆ TableFramePolicy()

TableFramePolicy::TableFramePolicy ( KWFrameView * view)

Definition at line 236 of file KWFrameView.cpp.

Member Function Documentation

◆ createPopup()

TQPopupMenu * TableFramePolicy::createPopup ( const KoPoint & point,
KWView * view )
virtual

Return a fully initialized popup for the context of frame at point.

Parameters
pointthe point where the mouse is hovering.
viewthe parent view widget

Implements FramePolicy.

Definition at line 251 of file KWFrameView.cpp.

◆ mouseMeaning()

MouseMeaning TableFramePolicy::mouseMeaning ( const KoPoint & point,
int keyState )
virtual

Return the MouseMeaning enum value for the parent view.

Parameters
pointthe point where the mouse is hovering.
keyStatethe bitmask of keys that are pressed. Same as Event::state();

Implements FramePolicy.

Definition at line 238 of file KWFrameView.cpp.

◆ mouseMeaningOnBorder()

MouseMeaning TableFramePolicy::mouseMeaningOnBorder ( const KoPoint & point,
int keyState )
protectedvirtual

Shared method for all policies called when the border of the frame is clicked.

Parameters
pointthe point where the mouse is hovering.
keyStatethe bitmask of keys that are pressed. Same as Event::state();

Reimplemented from FramePolicy.

Definition at line 257 of file KWFrameView.cpp.

◆ setSelected()

void TableFramePolicy::setSelected ( MouseMeaning )
virtual

Override this method to do more than select the parent frame-view.

Reimplemented from FramePolicy.

Definition at line 288 of file KWFrameView.cpp.


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