blob: aebaa5d52683310d350d11933acadffb535c47dd (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
|
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
/* This code generated by:
* Author : thomas
* Date : Wed Jul 30 2003
*/
#ifndef CPPCODEGENERATIONFORM_H
#define CPPCODEGENERATIONFORM_H
#include "cppcodegenerationformbase.h"
class TQCheckListItem;
/**
* @author Brian Thomas
*/
class CPPCodeGenerationForm : public CPPCodeGenerationFormBase {
Q_OBJECT
TQ_OBJECT
public:
/**
* std ctor
*/
explicit CPPCodeGenerationForm (TQWidget *parent=0, const char *name=0);
/**
* std dtor
*/
virtual ~CPPCodeGenerationForm();
/**
* set the display state of option "Package Is A Namespace"
*/
void setPackageIsANamespace(bool bFlag = true);
/**
* set the display state of option "Virtual Destructors"
*/
void setVirtualDestructors(bool bFlag = true);
/**
* set the display state of option "Generate Empty Constructors"
*/
void setGenerateEmptyConstructors(bool bFlag = true);
/**
* set the display state of option "Generate Accessor Methods"
*/
void setGenerateAccessorMethods(bool bFlag = true);
/**
* set the display state of option "Operations Are Inline"
*/
void setOperationsAreInline(bool bFlag = true);
/**
* set the display state of option "Accessors Are Inline"
*/
void setAccessorsAreInline(bool bFlag = true);
/**
* set the display state of option "Accessors Are Public"
*/
void setAccessorsArePublic(bool bFlag = true);
/**
* set the display state of option "Generate Makefile Document"
*/
void setGenerateMakefileDocument(bool bFlag = true);
/**
* get the display state of option "Package Is A Namespace"
*/
bool getPackageIsANamespace();
/**
* get the display state of option "Virtual Destructors"
*/
bool getVirtualDestructors();
/**
* get the display state of option "Generate Empty Constructors"
*/
bool getGenerateEmptyConstructors();
/**
* get the display state of option "Generate Accessors Methods"
*/
bool getGenerateAccessorMethods();
/**
* get the display state of option "Operations Are Inline"
*/
bool getOperationsAreInline();
/**
* get the display state of option "Accessors Are Inline"
*/
bool getAccessorsAreInline();
/**
* get the display state of option "Accessors Are Public"
*/
bool getAccessorsArePublic();
/**
* get the display state of option "Generate Makefile Document"
*/
bool getGenerateMakefileDocument();
protected:
public slots:
virtual void browseClicked();
private slots:
virtual void generalOptionsListViewClicked(TQListViewItem *);
private:
/*
* check boxes for the available options
*/
TQCheckListItem *pOptionPackageIsANamespace;
TQCheckListItem *pOptionVirtualDestructors;
TQCheckListItem *pOptionGenerateEmptyConstructors;
TQCheckListItem *pOptionGenerateAccessorMethods;
TQCheckListItem *pOptionOperationsAreInline;
TQCheckListItem *pOptionAccessorsAreInline;
TQCheckListItem *pOptionAccessorsArePublic;
/**
* initialize all attributes
*/
void init();
};
#endif
|