dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
main.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 MAIN_H
29 #define MAIN_H
30 
31 #include "myinterfaces.h"
32 #include "ui_main.h"
33 
34 #include <aggregate.h>
35 
36 #include <QtGui/QWidget>
37 
38 class MyMain : public QWidget
39 {
40  Q_OBJECT
41 
42 public:
43  MyMain(QWidget *parent = 0, Qt::WFlags flags = 0);
44  ~MyMain();
45 
46  void add(IComboEntry *obj);
47 
48 private slots:
49  void select(int index);
50 
51 private:
52  Ui::mainClass ui;
53 
54  QList<IComboEntry *> m_entries;
55 };
56 
57 #endif // MAIN_H
void add(IComboEntry *obj)
Definition: main.cpp:39
~MyMain()
Definition: main.cpp:63
Definition: main.h:38
Definition: myinterfaces.h:35
MyMain(QWidget *parent=0, Qt::WFlags flags=0)
Definition: main.cpp:32