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

kig

  • sources
  • kde-4.12
  • kdeedu
  • kig
  • modes
  • popup
objectconstructoractionsprovider.h
Go to the documentation of this file.
1 /*
2  <one line to give the program's name and a brief idea of what it does.>
3  Copyright (C) 2012 David E. Narvaez <david@piensalibre.net>
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License along
16  with this program; if not, write to the Free Software Foundation, Inc.,
17  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19 
20 
21 #ifndef OBJECTCONSTRUCTORACTIONSPROVIDER_H
22 #define OBJECTCONSTRUCTORACTIONSPROVIDER_H
23 
24 #include "popupactionprovider.h"
25 
26 #include "popup.h"
27 
28 class ObjectConstructor;
29 
30 class ObjectConstructorActionsProvider
31  : public PopupActionProvider
32 {
33  std::vector<ObjectConstructor*> mctors[NormalModePopupObjects::NumberOfMenus];
34 public:
35  void fillUpMenu( NormalModePopupObjects& popup, int menu, int& nextfree );
36  bool executeAction( int menu, int& id, const std::vector<ObjectHolder*>& os,
37  NormalModePopupObjects& popup,
38  KigPart& doc, KigWidget& w, NormalMode& m );
39 };
40 
41 #endif // OBJECTCONSTRUCTORACTIONSPROVIDER_H
popup.h
ObjectConstructorActionsProvider::executeAction
bool executeAction(int menu, int &id, const std::vector< ObjectHolder * > &os, NormalModePopupObjects &popup, KigPart &doc, KigWidget &w, NormalMode &m)
try to execute the id'th action you added to menu menu in popup popup ( first is 0 )...
Definition: objectconstructoractionsprovider.cc:68
ObjectConstructor
This class represents a way to construct a set of objects from a set of other objects.
Definition: object_constructor.h:44
NormalModePopupObjects
This is the popup menu that appears when you click on selected objects in NormalMode.
Definition: popup.h:46
NormalModePopupObjects::NumberOfMenus
Definition: popup.h:61
KigWidget
This class is the real widget showing the document.
Definition: kig_view.h:50
PopupActionProvider
This class is an abstract class.
Definition: popupactionprovider.h:35
popupactionprovider.h
ObjectConstructorActionsProvider
Definition: objectconstructoractionsprovider.h:30
ObjectConstructorActionsProvider::fillUpMenu
void fillUpMenu(NormalModePopupObjects &popup, int menu, int &nextfree)
This file is part of Kig, a KDE program for Interactive Geometry...
Definition: objectconstructoractionsprovider.cc:30
KigPart
This is a "Part".
Definition: kig_part.h:68
NormalMode
Definition: normal.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal