• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kig

PointConstructMode Class Reference

#include <construct_mode.h>

Inheritance diagram for PointConstructMode:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 29 of file construct_mode.h.


Public Member Functions

 PointConstructMode (KigPart &d)
 ~PointConstructMode ()

Protected Member Functions

void leftClickedObject (ObjectHolder *o, const QPoint &p, KigWidget &w, bool ctrlOrShiftDown)
void midClicked (const QPoint &p, KigWidget &w)
void rightClicked (const std::vector< ObjectHolder * > &oco, const QPoint &p, KigWidget &w)
void mouseMoved (const std::vector< ObjectHolder * > &os, const QPoint &p, KigWidget &w, bool shiftpressed)
void enableActions ()
void cancelConstruction ()
void redrawScreen (KigWidget *)

Constructor & Destructor Documentation

PointConstructMode::PointConstructMode ( KigPart &  d  ) 

Definition at line 290 of file construct_mode.cc.

PointConstructMode::~PointConstructMode (  ) 

Definition at line 303 of file construct_mode.cc.


Member Function Documentation

void PointConstructMode::leftClickedObject ( ObjectHolder *  o,
const QPoint &  p,
KigWidget &  w,
bool  ctrlOrShiftDown 
) [protected, virtual]

Implements BaseMode.

Definition at line 307 of file construct_mode.cc.

void PointConstructMode::midClicked ( const QPoint &  p,
KigWidget &  w 
) [protected, virtual]

Implements BaseMode.

Definition at line 317 of file construct_mode.cc.

void PointConstructMode::rightClicked ( const std::vector< ObjectHolder * > &  oco,
const QPoint &  p,
KigWidget &  w 
) [protected, virtual]

Implements BaseMode.

Definition at line 322 of file construct_mode.cc.

void PointConstructMode::mouseMoved ( const std::vector< ObjectHolder * > &  os,
const QPoint &  p,
KigWidget &  w,
bool  shiftpressed 
) [protected, virtual]

Implements BaseMode.

Definition at line 328 of file construct_mode.cc.

void PointConstructMode::enableActions (  )  [protected, virtual]

actions: we enable the actions we want when our mode is made active.

This file is part of Kig, a KDE program for Interactive Geometry.

These actions are members of KigDocument, and call slots on KigDocument. These slots all call the correspondent mode() member. Modes reimplement the ones they need, and turn on the actions they support in enableActions().

.. Copyright (C) 2002 Dominique Devriese <devriese@kde.org>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Reimplemented from BaseMode.

Definition at line 362 of file construct_mode.cc.

void PointConstructMode::cancelConstruction (  )  [protected, virtual]

Reimplemented from KigMode.

Definition at line 369 of file construct_mode.cc.

void PointConstructMode::redrawScreen ( KigWidget *  w  )  [protected, virtual]

Redraw the document on KigWidget w .

It's up to the mode to refresh the screen...

Reimplemented from KigMode.

Definition at line 577 of file construct_mode.cc.


The documentation for this class was generated from the following files:
  • construct_mode.h
  • construct_mode.cc

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal