#include <dcodegenerationpolicy.h>
◆ DCodeGenerationPolicy()
DCodeGenerationPolicy::DCodeGenerationPolicy |
( |
| ) |
|
◆ ~DCodeGenerationPolicy()
DCodeGenerationPolicy::~DCodeGenerationPolicy |
( |
| ) |
|
|
virtual |
◆ createPage()
CodeGenerationPolicyPage * DCodeGenerationPolicy::createPage |
( |
QWidget * | parent = nullptr, |
|
|
const char * | name = nullptr ) |
|
virtual |
Create a new dialog interface for this object.
- Parameters
-
parent | the parent widget |
name | name of policy page |
- Returns
- dialog object
Implements CodeGenPolicyExt.
◆ getAutoGenerateAssocAccessors()
bool DCodeGenerationPolicy::getAutoGenerateAssocAccessors |
( |
| ) |
|
Get the value of m_autoGenerateAssocAccessors
- Returns
- the value of m_autoGenerateAssocAccessors
◆ getAutoGenerateAttribAccessors()
bool DCodeGenerationPolicy::getAutoGenerateAttribAccessors |
( |
| ) |
|
Get the value of m_autoGenerateAttribAccessors
- Returns
- the value of m_autoGenerateAttribAccessors
◆ init()
void DCodeGenerationPolicy::init |
( |
| ) |
|
|
protected |
◆ setAutoGenerateAssocAccessors()
void DCodeGenerationPolicy::setAutoGenerateAssocAccessors |
( |
bool | var | ) |
|
Set the value of m_autoGenerateAssocAccessors
- Parameters
-
◆ setAutoGenerateAttribAccessors()
void DCodeGenerationPolicy::setAutoGenerateAttribAccessors |
( |
bool | var | ) |
|
Set the value of m_autoGenerateAttribAccessors
- Parameters
-
◆ setDefaults() [1/2]
void DCodeGenerationPolicy::setDefaults |
( |
bool | emitUpdateSignal = true | ) |
|
|
virtual |
Set the defaults from a config file for this code generator from the passed KConfig pointer.
- Parameters
-
emitUpdateSignal | flag whether to emit the update signal |
Implements CodeGenPolicyExt.
◆ setDefaults() [2/2]
void DCodeGenerationPolicy::setDefaults |
( |
CodeGenPolicyExt * | clone, |
|
|
bool | emitUpdateSignal = true ) |
|
virtual |
Set the defaults for this code generator from the passed generator.
- Parameters
-
clone | the code gen policy ext object |
emitUpdateSignal | flag whether to emit the update signal |
◆ m_commonPolicy
The documentation for this class was generated from the following files: