kig
#include <builtindocumentactionsprovider.h>
Public Member Functions | |
bool | executeAction (int menu, int &id, const std::vector< ObjectHolder * > &os, NormalModePopupObjects &popup, KigPart &doc, KigWidget &w, NormalMode &m) |
void | fillUpMenu (NormalModePopupObjects &popup, int menu, int &nextfree) |
Public Member Functions inherited from PopupActionProvider | |
virtual | ~PopupActionProvider () |
Detailed Description
This file is part of Kig, a KDE program for Interactive Geometry...
Copyright (C) 2012 David E. Narvaez david .nar vaez@ comp uter. 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.
Definition at line 25 of file builtindocumentactionsprovider.h.
Member Function Documentation
|
virtual |
try to execute the id'th action you added to menu menu in popup popup ( first is 0 ).
Return true if this action does indeed belong to you ( is not greater than the number of actions you added ). Else return false, and subtract the number of actions you added from id. This requires you to keep a record of how much actions you added ( unless it's a fixed number, of course ).
Implements PopupActionProvider.
Definition at line 59 of file builtindocumentactionsprovider.cc.
|
virtual |
This file is part of Kig, a KDE program for Interactive Geometry...
Copyright (C) 2012 David E. Narvaez david .nar vaez@ comp uter. 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.
Implements PopupActionProvider.
Definition at line 33 of file builtindocumentactionsprovider.cc.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.