dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
myinterfaces.h
Go to the documentation of this file.
1 
13 /*
14  * This program is free software; you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation; either version 3 of the License, or
17  * (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful, but
20  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  * for more details.
23  *
24  * You should have received a copy of the GNU General Public License along
25  * with this program; if not, see <http://www.gnu.org/licenses/>
26  */
27 
28 #ifndef MYINTERFACES_H
29 #define MYINTERFACES_H
30 
31 #include <aggregate.h>
32 
33 #include <QtCore/QString>
34 
35 class IComboEntry : public QObject
36 {
37  Q_OBJECT
38 
39 public:
40  IComboEntry(QString title) : m_title(title) {}
41  virtual ~IComboEntry() {}
42  QString title() const { return m_title; }
43 
44 private:
45  QString m_title;
46 };
47 
48 class IText1 : public QObject
49 {
50  Q_OBJECT
51 
52 public:
53  IText1(QString text) : m_text(text) {}
54  virtual ~IText1() {}
55  QString text() const { return m_text; }
56 
57 private:
58  QString m_text;
59 };
60 
61 class IText2 : public QObject
62 {
63  Q_OBJECT
64 
65 public:
66  IText2(QString text) : m_text(text) {}
67  QString text() const { return m_text; }
68 
69 private:
70  QString m_text;
71 };
72 
73 class IText3 : public QObject
74 {
75  Q_OBJECT
76 
77 public:
78  IText3(QString text) : m_text(text) {}
79  virtual ~IText3() {}
80  QString text() const { return m_text; }
81 
82 private:
83  QString m_text;
84 };
85 
86 #endif // MYINTERFACES_H
virtual ~IComboEntry()
Definition: myinterfaces.h:41
IComboEntry(QString title)
Definition: myinterfaces.h:40
IText1(QString text)
Definition: myinterfaces.h:53
QString text() const
Definition: myinterfaces.h:80
QString text() const
Definition: myinterfaces.h:67
virtual ~IText3()
Definition: myinterfaces.h:79
IText3(QString text)
Definition: myinterfaces.h:78
QString title() const
Definition: myinterfaces.h:42
virtual ~IText1()
Definition: myinterfaces.h:54
Definition: myinterfaces.h:35
IText2(QString text)
Definition: myinterfaces.h:66
QString text() const
Definition: myinterfaces.h:55