C++ main module for gpm Package  1.0
GPMG_ActionEditPreferences.h
Go to the documentation of this file.
1 #ifndef GPMG_ActionEditPreferences_H
2 #define GPMG_ActionEditPreferences_H
3 
4 
5 #include "GUI_Action.h"
6 
7 
8 
9 
16 class GPMG_ActionEditPreferences : public GUI_Action { // class
17  SP_OBJECT(GPMG_ActionEditPreferences);
18 
19  // ATTRIBUTES
20 
21 private:
22  tString mPreferencesWinId;
23 
24  // ASSOCIATIONS
25 
26 
27  // METHODS
28 
29 
30 protected:
31  // CONSTRUCTORS
35 
36 
37 
38 
39  // DESTRUCTORS
43  virtual ~GPMG_ActionEditPreferences(void);
44 
45 
46 public:
47  // NEW
50  inline static SP::GPMG_ActionEditPreferences New() {
51  SP::GPMG_ActionEditPreferences p(new GPMG_ActionEditPreferences(),
52  GPMG_ActionEditPreferences::Delete());
53  p->setThis(p);
54  p->setLabel(translate("Preferences"));
55  return p;
56  };
57 
58  // SET
59 
60  // GET
61 
62  // OTHERS
63 
66  virtual void toDo();
67 
68 
69 };
70 #endif
DEFINE_SPTR(GPMG_ActionEditPreferences)
this class describes the Preferences Edit Action Menu
Definition: GPMG_ActionEditPreferences.h:16
static SP::GPMG_ActionEditPreferences New()
create an action
Definition: GPMG_ActionEditPreferences.h:50
virtual void toDo()
action to do
Definition: GPMG_ActionEditPreferences.cpp:16
#define tString
Definition: types.h:36
virtual ~GPMG_ActionEditPreferences(void)
destroy a GPMG_ActionEditPreferences
Definition: GPMG_ActionEditPreferences.cpp:11
GPMG_ActionEditPreferences()
build a GPMG_ActionEditPreferences
Definition: GPMG_ActionEditPreferences.cpp:6