• 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
scriptactionsprovider.h
Go to the documentation of this file.
1 
20 #ifndef SCRIPTACTIONSPROVIDER_H
21 #define SCRIPTACTIONSPROVIDER_H
22 
23 #include <config-kig.h>
24 
25 #ifdef KIG_ENABLE_PYTHON_SCRIPTING
26 
27 #include "popupactionprovider.h"
28 
29 #include "../../scripting/script-common.h"
30 #include "../../scripting/script_mode.h"
31 #include "../../scripting/python_type.h"
32 
33 class ScriptActionsProvider
34  : public PopupActionProvider
35 {
36  int mns;
37 public:
38  void fillUpMenu( NormalModePopupObjects& popup, int menu, int& nextfree );
39  bool executeAction( int menu, int& id, const std::vector<ObjectHolder*>& os,
40  NormalModePopupObjects& popup,
41  KigPart& doc, KigWidget& w, NormalMode& m );
42 };
43 
44 #endif
45 
46 #endif // SCRIPTACTIONSPROVIDER_H
PopupActionProvider::executeAction
virtual bool executeAction(int menu, int &id, const std::vector< ObjectHolder * > &os, NormalModePopupObjects &popup, KigPart &doc, KigWidget &w, NormalMode &m)=0
try to execute the id'th action you added to menu menu in popup popup ( first is 0 )...
NormalModePopupObjects
This is the popup menu that appears when you click on selected objects in NormalMode.
Definition: popup.h:46
PopupActionProvider::fillUpMenu
virtual void fillUpMenu(NormalModePopupObjects &popup, int menu, int &nextfree)=0
add all your entries to menu menu in popup popup.
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
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:40 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