kwave
18.07.70
MenuList.h
Go to the documentation of this file.
1
/***************************************************************************
2
MenuList.h - placeholder for a list of menu entries
3
-------------------
4
begin : Wed Dec 03 2014
5
copyright : (C) 2014 by Thomas Eschenbacher
6
email : Thomas.Eschenbacher@gmx.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef MENU_LIST_H
19
#define MENU_LIST_H
20
21
#include "config.h"
22
23
#include <QAction>
24
#include <QIcon>
25
#include <QMenu>
26
#include <QString>
27
28
#include "
libgui/MenuNode.h
"
29
30
namespace
Kwave
31
{
37
class
MenuList
:
public
Kwave::MenuNode
38
{
39
Q_OBJECT
40
41
public
:
49
MenuList
(
Kwave::MenuNode
*parent,
50
const
QString &
command
,
51
const
QString &
uid
);
52
54
virtual
~MenuList
() Q_DECL_OVERRIDE;
55
59
virtual
bool
isBranch
() const Q_DECL_OVERRIDE {
return
false
; }
60
64
virtual
void
clear
() Q_DECL_OVERRIDE;
65
76
virtual
Kwave::MenuNode
*
insertLeaf
(
const
QString &
name
,
77
const
QString &command,
78
const
QKeySequence &
shortcut
,
79
const
QString &uid) Q_DECL_OVERRIDE;
80
81
};
82
}
83
84
#endif
/* MENU_LIST_H */
85
86
//***************************************************************************
87
//***************************************************************************
88
Kwave::MenuList
Definition:
MenuList.h:37
Kwave::MenuNode
Definition:
MenuNode.h:43
Kwave
Definition:
App.h:33
Kwave::MenuList::~MenuList
virtual ~MenuList() Q_DECL_OVERRIDE
Definition:
MenuList.cpp:34
Kwave::MenuNode::shortcut
const QKeySequence & shortcut() const
Definition:
MenuNode.h:95
Kwave::MenuList::clear
virtual void clear() Q_DECL_OVERRIDE
Definition:
MenuList.cpp:39
Kwave::MenuNode::name
const QString & name() const
Definition:
MenuNode.h:74
Kwave::MenuNode::command
const QString & command() const
Definition:
MenuNode.h:77
Kwave::MenuList::MenuList
MenuList(Kwave::MenuNode *parent, const QString &command, const QString &uid)
Definition:
MenuList.cpp:25
Kwave::MenuNode::uid
const QString & uid() const
Definition:
MenuNode.h:85
MenuNode.h
Kwave::MenuList::isBranch
virtual bool isBranch() const Q_DECL_OVERRIDE
Definition:
MenuList.h:59
Kwave::MenuList::insertLeaf
virtual Kwave::MenuNode * insertLeaf(const QString &name, const QString &command, const QKeySequence &shortcut, const QString &uid) Q_DECL_OVERRIDE
Definition:
MenuList.cpp:52
libgui
MenuList.h
Generated on Sat Mar 24 2018 09:10:24 for kwave by
1.8.13