summaryrefslogtreecommitdiff
path: root/src/Configmenu.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Configmenu.hh')
-rw-r--r--src/Configmenu.hh68
1 files changed, 34 insertions, 34 deletions
diff --git a/src/Configmenu.hh b/src/Configmenu.hh
index 8f97d0a..6f79a21 100644
--- a/src/Configmenu.hh
+++ b/src/Configmenu.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Configmenu.hh,v 1.6 2002/10/15 09:50:38 fluxgen Exp $ 25// $Id: Configmenu.hh,v 1.7 2002/12/01 13:41:55 rathnor Exp $
26 26
27#ifndef CONFIGMENU_HH 27#ifndef CONFIGMENU_HH
28#define CONFIGMENU_HH 28#define CONFIGMENU_HH
@@ -33,50 +33,50 @@ class BScreen;
33 33
34class Configmenu : public Basemenu { 34class Configmenu : public Basemenu {
35public: 35public:
36 explicit Configmenu(BScreen *scr); 36 explicit Configmenu(BScreen *scr);
37 virtual ~Configmenu(); 37 virtual ~Configmenu();
38 38
39 Basemenu &focusmenu() { return m_focusmenu; } 39 Basemenu &focusmenu() { return m_focusmenu; }
40 Basemenu &getPlacementmenu() { return m_placementmenu; } 40 Basemenu &getPlacementmenu() { return m_placementmenu; }
41 Basemenu &getTabmenu() { return m_tabmenu; } 41 Basemenu &getTabmenu() { return m_tabmenu; }
42 42
43 const Basemenu &focusmenu() const { return m_focusmenu; } 43 const Basemenu &focusmenu() const { return m_focusmenu; }
44 const Basemenu &placementmenu() const { return m_placementmenu; } 44 const Basemenu &placementmenu() const { return m_placementmenu; }
45 const Basemenu &tabmenu() const { return m_tabmenu; } 45 const Basemenu &tabmenu() const { return m_tabmenu; }
46 46
47 void reconfigure(); 47 void reconfigure();
48 48
49protected: 49protected:
50 virtual void itemSelected(int button, unsigned int index); 50 virtual void itemSelected(int button, unsigned int index);
51 51
52private: 52private:
53 class Focusmenu : public Basemenu { 53 class Focusmenu : public Basemenu {
54 public: 54 public:
55 explicit Focusmenu(BScreen *scr); 55 explicit Focusmenu(BScreen *scr);
56 protected: 56 protected:
57 virtual void itemSelected(int button, unsigned int index); 57 virtual void itemSelected(int button, unsigned int index);
58 }; 58 };
59 59
60 class Placementmenu : public Basemenu { 60 class Placementmenu : public Basemenu {
61 public: 61 public:
62 explicit Placementmenu(BScreen *scr); 62 explicit Placementmenu(BScreen *scr);
63 63
64 protected: 64 protected:
65 virtual void itemSelected(int button, unsigned int index); 65 virtual void itemSelected(int button, unsigned int index);
66 }; 66 };
67 67
68 class Tabmenu : public Basemenu { 68 class Tabmenu : public Basemenu {
69 public: 69 public:
70 explicit Tabmenu(BScreen *scr); 70 explicit Tabmenu(BScreen *scr);
71 protected: 71 protected:
72 virtual void itemSelected(int button, unsigned int index); 72 virtual void itemSelected(int button, unsigned int index);
73 private: 73 private:
74 void setSelected(); 74 void setSelected();
75 }; 75 };
76 76
77 Focusmenu m_focusmenu; 77 Focusmenu m_focusmenu;
78 Placementmenu m_placementmenu; 78 Placementmenu m_placementmenu;
79 Tabmenu m_tabmenu; 79 Tabmenu m_tabmenu;
80}; 80};
81 81
82 82