Unity 8
quicklistentry.h
1 /* Copyright (C) 2014-2015 Canonical, Ltd.
2  *
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; version 3.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program. If not, see <http://www.gnu.org/licenses/>.
14  */
15 
16 #ifndef QUICKLISTENTRY_H
17 #define QUICKLISTENTRY_H
18 
19 #include <QString>
20 
21 class QuickListEntry
22 {
23 public:
24  QuickListEntry();
25 
26  QString actionId() const;
27  void setActionId(const QString &actionId);
28 
29  QString text() const;
30  void setText(const QString &text);
31 
32  QString icon() const;
33  void setIcon(const QString &icon);
34 
35  bool clickable() const;
36 
37 private:
38  QString m_actionId;
39  QString m_text;
40  QString m_icon;
41 };
42 
43 #endif // QUICKLISTENTRY