~ubuntu-branches/ubuntu/saucy/kig/saucy

« back to all changes in this revision

Viewing changes to modes/popup/nameobjectactionsprovider.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell, Jonathan Riddell, Harald Sitter
  • Date: 2012-11-19 15:58:49 UTC
  • mfrom: (1.1.16)
  • Revision ID: package-import@ubuntu.com-20121119155849-l709sjsbjijx422a
Tags: 4:4.9.80-0ubuntu1
[ Jonathan Riddell ]
* New upstream beta release

[ Harald Sitter ]
* Add libboost-python-dev as build dep to enable python script support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
    This file is part of Kig, a KDE program for Interactive Geometry...
 
3
    Copyright (C) 2012  David E. Narvaez <david.narvaez@computer.org>
 
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
#ifndef NAMEOBJECTACTIONSPROVIDER_H
 
21
#define NAMEOBJECTACTIONSPROVIDER_H
 
22
 
 
23
#include "popupactionprovider.h"
 
24
 
 
25
class NameObjectActionsProvider
 
26
  : public PopupActionProvider
 
27
{
 
28
public:
 
29
  void fillUpMenu( NormalModePopupObjects& popup, int menu, int& nextfree );
 
30
  bool executeAction( int menu, int& id, const std::vector<ObjectHolder*>& os,
 
31
                      NormalModePopupObjects& popup,
 
32
                      KigPart& doc, KigWidget& w, NormalMode& m );
 
33
};
 
34
 
 
35
#endif // NAMEOBJECTACTIONSPROVIDER_H