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

kig

DefineMacroMode Class Reference

#include <macro.h>

Inheritance diagram for DefineMacroMode:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 27 of file macro.h.


Public Member Functions

void cancelPressed ()
 DefineMacroMode (KigPart &)
void dragRect (const QPoint &p, KigWidget &w)
void finalPageEntered ()
void finishPressed ()
void givenPageEntered ()
bool hasFinalArgs () const
bool hasGivenArgs () const
void leftClickedObject (ObjectHolder *o, const QPoint &p, KigWidget &w, bool ctrlOrShiftDown)
void midClicked (const QPoint &p, KigWidget &w)
void mouseMoved (const std::vector< ObjectHolder * > &os, const QPoint &p, KigWidget &w, bool shiftpressed)
void rightClicked (const std::vector< ObjectHolder * > &oco, const QPoint &p, KigWidget &w)
bool validateObjects ()
 ~DefineMacroMode ()

Protected Member Functions

void abandonMacro ()
void enableActions ()

Protected Attributes

std::vector< ObjectHolder * > mfinal
std::vector< ObjectHolder * > mgiven
MacroWizard * mwizard
QPoint plc

Constructor & Destructor Documentation

DefineMacroMode::DefineMacroMode ( KigPart &  d  ) 

Definition at line 40 of file macro.cc.

DefineMacroMode::~DefineMacroMode (  ) 

Definition at line 47 of file macro.cc.


Member Function Documentation

void DefineMacroMode::abandonMacro (  )  [protected]

quit this mode.

..

Definition at line 52 of file macro.cc.

void DefineMacroMode::cancelPressed (  ) 

Definition at line 137 of file macro.cc.

void DefineMacroMode::dragRect ( const QPoint &  p,
KigWidget &  w 
) [virtual]

Reimplemented from BaseMode.

Definition at line 142 of file macro.cc.

void DefineMacroMode::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 57 of file macro.cc.

void DefineMacroMode::finalPageEntered (  ) 

Definition at line 69 of file macro.cc.

void DefineMacroMode::finishPressed (  ) 

Definition at line 114 of file macro.cc.

void DefineMacroMode::givenPageEntered (  ) 

Definition at line 63 of file macro.cc.

bool DefineMacroMode::hasFinalArgs (  )  const

Definition at line 235 of file macro.cc.

bool DefineMacroMode::hasGivenArgs (  )  const

Definition at line 230 of file macro.cc.

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

Implements BaseMode.

Definition at line 170 of file macro.cc.

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

Implements BaseMode.

Definition at line 226 of file macro.cc.

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

Implements BaseMode.

Definition at line 191 of file macro.cc.

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

Implements BaseMode.

Definition at line 222 of file macro.cc.

bool DefineMacroMode::validateObjects (  ) 

Definition at line 75 of file macro.cc.


Member Data Documentation

std::vector<ObjectHolder*> DefineMacroMode::mfinal [protected]

Definition at line 63 of file macro.h.

std::vector<ObjectHolder*> DefineMacroMode::mgiven [protected]

Definition at line 62 of file macro.h.

MacroWizard* DefineMacroMode::mwizard [protected]

Definition at line 59 of file macro.h.

QPoint DefineMacroMode::plc [protected]

Definition at line 58 of file macro.h.


The documentation for this class was generated from the following files:
  • macro.h
  • macro.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
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
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