blob: e3ce88589fcfc31464282727b99550cc546ddd75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
#ifndef __ADDCLASS_H__
#define __ADDCLASS_H__
#include <tqstring.h>
#include <tqstringlist.h>
class AddClassInfo
{
public:
AddClassInfo();
enum Visibility { PublicClass, ProtectedClass, PrivateClass};
TQString className;
TQString extends;
bool interfaceOpt, abstractOpt, finalOpt;
TQString projectDir, sourceDir;
Visibility visibility;
TQStringList implements;
bool createConstructor, createMain;
TQString documentation;
TQString license;
TQString adaFileName() const;
};
class AddClass
{
public:
AddClass();
void setInfo(const AddClassInfo &info);
AddClassInfo &info();
void setBaseClasses(const TQStringList &classes);
bool showDialog();
bool generate();
private:
AddClassInfo m_info;
TQStringList m_baseClasses;
};
#endif
|