RegisterAction.h
Go to the documentation of this file.
1 /* Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib 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 Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 #ifndef __TE_QT_PLUGINS_VP_INTERNAL_REGISTERACTION_H
21 #define __TE_QT_PLUGINS_VP_INTERNAL_REGISTERACTION_H
22 
23 // TerraLib
24 #include "Config.h"
25 #include "AbstractAction.h"
26 
27 namespace te
28 {
29  namespace qt
30  {
31  namespace plugins
32  {
33  namespace vp
34  {
35  /*!
36  \class RegisterAction
37 
38  \brief This class register the buffer action into VP Plugin.
39 
40  */
42  {
43  Q_OBJECT
44 
45  public:
46 
47  RegisterAction(QMenu* menu);
48 
49  virtual ~RegisterAction();
50 
51  protected slots:
52 
53  virtual void onActionActivated(bool checked);
54  };
55 
56  } // end namespace vp
57  } // end namespace plugins
58  } // end namespace qt
59 } // end namespace te
60 
61 #endif //__TE_QT_PLUGINS_VP_INTERNAL_REGISTERACTION_H
This is an abstract class used to register actions into vp pluging.
This class register the buffer action into VP Plugin.
virtual void onActionActivated(bool checked)
TerraLib.
#define slots
Proxy configuration file for TerraView (see terraview_config.h).
This file defines the abstract class AbstractAction.