umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Public Slots | Public Member Functions | Private Slots | Static Private Member Functions | Private Attributes | Friends | List of all members
CPPCodeGenerationForm Class Reference

#include <cppcodegenerationform.h>

Inheritance diagram for CPPCodeGenerationForm:
Collaboration diagram for CPPCodeGenerationForm:

Public Slots

virtual void browseClicked ()
 

Public Member Functions

 CPPCodeGenerationForm (QWidget *parent=0, const char *name=0)
 
virtual ~CPPCodeGenerationForm ()
 
void setPackageIsANamespace (bool bFlag=true)
 
void setVirtualDestructors (bool bFlag=true)
 
void setGenerateEmptyConstructors (bool bFlag=true)
 
void setGenerateAccessorMethods (bool bFlag=true)
 
void setOperationsAreInline (bool bFlag=true)
 
void setAccessorsAreInline (bool bFlag=true)
 
void setAccessorsArePublic (bool bFlag=true)
 
void setGenerateMakefileDocument (bool bFlag=true)
 
void setDocToolTag (const QString &value)
 
void setGetterWithoutGetPrefix (bool bFlag=true)
 
void setRemovePrefixFromAccessorMethodName (bool bFlag=true)
 
void setAccessorMethodsStartWithUpperCase (bool bFlag)
 
void setClassMemberPrefix (const QString &value)
 
bool getPackageIsANamespace ()
 
bool getVirtualDestructors ()
 
bool getGenerateEmptyConstructors ()
 
bool getGenerateAccessorMethods ()
 
bool getOperationsAreInline ()
 
bool getAccessorsAreInline ()
 
bool getAccessorsArePublic ()
 
bool getGenerateMakefileDocument ()
 
QString getDocToolTag ()
 
bool getGettersWithGetPrefix ()
 
bool getRemovePrefixFromAccessorMethodName ()
 
bool getAccessorMethodsStartWithUpperCase ()
 
QString getClassMemberPrefix ()
 

Private Slots

virtual void generalOptionsListWidgetClicked (QListWidgetItem *)
 

Static Private Member Functions

static Qt::CheckState toCheckState (bool value)
 

Private Attributes

QListWidgetItem * m_optionPackageIsANamespace
 
QListWidgetItem * m_optionVirtualDestructors
 
QListWidgetItem * m_optionGenerateEmptyConstructors
 
QListWidgetItem * m_optionGenerateAccessorMethods
 
QListWidgetItem * m_optionOperationsAreInline
 
QListWidgetItem * m_optionAccessorsAreInline
 
QListWidgetItem * m_optionAccessorsArePublic
 
QListWidgetItem * m_optionDocToolTag
 
QListWidgetItem * m_optionGetterWithGetPrefix
 
QListWidgetItem * m_optionRemovePrefixFromAccessorMethodName
 
QListWidgetItem * m_optionAccessorMethodsStartWithUpperCase
 
- Private Attributes inherited from Ui_CPPCodeGenerationFormBase
QVBoxLayout * vboxLayout
 
QGridLayout * ui_gridLayoutMain
 
QLabel * ui_textLabelTitle
 
QTabWidget * ui_tabWidget
 
QWidget * ui_tabGeneral
 
QWidget * layoutWidget
 
QGridLayout * gridLayout
 
QHBoxLayout * horizontalLayout_2
 
QLabel * label
 
QLineEdit * ui_classMemberPrefixEdit
 
QListWidget * ui_generalOptionsListWidget
 
QWidget * ui_tabMethodBodyGeneration
 
QGridLayout * gridLayout1
 
QSpacerItem * spacerItem
 
QGridLayout * ui_includeFilesList
 
KHistoryComboBox * ui_listClassHCombo
 
QLabel * ui_textLabelVariable
 
QPushButton * ui_browseStringButton
 
QCheckBox * ui_globalStringCheckBox
 
KHistoryComboBox * ui_stringClassHCombo
 
QSpacerItem * spacerItem1
 
QSpacerItem * spacerItem2
 
QLabel * ui_textLabelStringClass
 
QLabel * ui_textLabelListClass
 
QCheckBox * ui_globalListCheckBox
 
QPushButton * ui_browseListButton
 
QLabel * ui_textLabelGlobal
 
KHistoryComboBox * ui_listIncludeFileHistoryCombo
 
KHistoryComboBox * ui_stringIncludeFileHistoryCombo
 
QLabel * ui_textLabelClassName
 
QLabel * ui_textLabelIncludeFile
 
QLabel * ui_textLabelHelpMethodBodyGen
 
QGroupBox * ui_groupBoxDocumentation
 
QHBoxLayout * horizontalLayout
 
QLabel * ui_textLabelStyle
 
KComboBox * ui_selectCommentStyle
 

Friends

class CPPCodeGenerationPolicyPage
 

Additional Inherited Members

- Private Member Functions inherited from Ui_CPPCodeGenerationFormBase
void setupUi (QWidget *CPPCodeGenerationFormBase)
 
void retranslateUi (QWidget *CPPCodeGenerationFormBase)
 

Detailed Description

Author
Brian Thomas

Constructor & Destructor Documentation

◆ CPPCodeGenerationForm()

CPPCodeGenerationForm::CPPCodeGenerationForm ( QWidget *  parent = 0,
const char *  name = 0 
)
explicit

Constructor.

Parameters
parentthe parent of this widget
namethe object name
Here is the call graph for this function:

◆ ~CPPCodeGenerationForm()

CPPCodeGenerationForm::~CPPCodeGenerationForm ( )
virtual

Destructor.

Member Function Documentation

◆ browseClicked

void CPPCodeGenerationForm::browseClicked ( )
virtualslot

Slot for clicking on the browse buttons.

◆ generalOptionsListWidgetClicked

void CPPCodeGenerationForm::generalOptionsListWidgetClicked ( QListWidgetItem *  pSender)
privatevirtualslot

Slot for clicking in the list widget.

Parameters
pSenderthe sender of the signal, the item in the list

◆ getAccessorMethodsStartWithUpperCase()

bool CPPCodeGenerationForm::getAccessorMethodsStartWithUpperCase ( )

Get the display state of the related option

Returns
the state of the flag

◆ getAccessorsAreInline()

bool CPPCodeGenerationForm::getAccessorsAreInline ( )

Get the display state of option "Accessors Are Inline".

Returns
the state of the flag

◆ getAccessorsArePublic()

bool CPPCodeGenerationForm::getAccessorsArePublic ( )

Get the display state of option "Accessors Are Public".

Returns
the state of the flag

◆ getClassMemberPrefix()

QString CPPCodeGenerationForm::getClassMemberPrefix ( )

Get the class member prefix

Returns
value

◆ getDocToolTag()

QString CPPCodeGenerationForm::getDocToolTag ( )

Get the display state of the related option

Returns
the state of the flag

◆ getGenerateAccessorMethods()

bool CPPCodeGenerationForm::getGenerateAccessorMethods ( )

Get the display state of option "Generate Accessor Methods".

Returns
the state of the flag

◆ getGenerateEmptyConstructors()

bool CPPCodeGenerationForm::getGenerateEmptyConstructors ( )

Get the display state of option "Generate Empty Constructors".

Returns
the state of the flag

◆ getGenerateMakefileDocument()

bool CPPCodeGenerationForm::getGenerateMakefileDocument ( )

◆ getGettersWithGetPrefix()

bool CPPCodeGenerationForm::getGettersWithGetPrefix ( )

Get the display state of the related option

Returns
the state of the flag

◆ getOperationsAreInline()

bool CPPCodeGenerationForm::getOperationsAreInline ( )

Get the display state of option "Operations Are Inline".

Returns
the state of the flag

◆ getPackageIsANamespace()

bool CPPCodeGenerationForm::getPackageIsANamespace ( )

Get the display state of option "Package Is Namespace".

Returns
the state of the flag

◆ getRemovePrefixFromAccessorMethodName()

bool CPPCodeGenerationForm::getRemovePrefixFromAccessorMethodName ( )

Get the display state of the related option

Returns
the state of the flag

◆ getVirtualDestructors()

bool CPPCodeGenerationForm::getVirtualDestructors ( )

Get the display state of option "Virtual Destructors".

Returns
the state of the flag

◆ setAccessorMethodsStartWithUpperCase()

void CPPCodeGenerationForm::setAccessorMethodsStartWithUpperCase ( bool  bFlag)

Set the display state of the related checkbox

Parameters
bFlagthe flag to set
Here is the call graph for this function:

◆ setAccessorsAreInline()

void CPPCodeGenerationForm::setAccessorsAreInline ( bool  bFlag = true)

Set the display state of option "Accessors Are Inline".

Parameters
bFlagthe flag to set
Here is the call graph for this function:

◆ setAccessorsArePublic()

void CPPCodeGenerationForm::setAccessorsArePublic ( bool  bFlag = true)

Set the display state of option "Accessors Are Public".

Parameters
bFlagthe flag to set
Here is the call graph for this function:

◆ setClassMemberPrefix()

void CPPCodeGenerationForm::setClassMemberPrefix ( const QString &  value)

Set the class member prefix

Parameters
valuethe value to set

◆ setDocToolTag()

void CPPCodeGenerationForm::setDocToolTag ( const QString &  value)

Set the doc display state of option "Doc Tool Tag".

Parameters
valuethe value of the tag
Here is the call graph for this function:

◆ setGenerateAccessorMethods()

void CPPCodeGenerationForm::setGenerateAccessorMethods ( bool  bFlag = true)

Set the display state of option "Generate Accessor Methods".

Parameters
bFlagthe flag to set
Here is the call graph for this function:

◆ setGenerateEmptyConstructors()

void CPPCodeGenerationForm::setGenerateEmptyConstructors ( bool  bFlag = true)

Set the display state of option "Generate Empty Constructors".

Parameters
bFlagthe flag to set
Here is the call graph for this function:

◆ setGenerateMakefileDocument()

void CPPCodeGenerationForm::setGenerateMakefileDocument ( bool  bFlag = true)

◆ setGetterWithoutGetPrefix()

void CPPCodeGenerationForm::setGetterWithoutGetPrefix ( bool  bFlag = true)

Set the display state of the related checkbox

Parameters
bFlagthe flag to set
Here is the call graph for this function:

◆ setOperationsAreInline()

void CPPCodeGenerationForm::setOperationsAreInline ( bool  bFlag = true)

Set the display state of option "Operations Are Inline".

Parameters
bFlagthe flag to set
Here is the call graph for this function:

◆ setPackageIsANamespace()

void CPPCodeGenerationForm::setPackageIsANamespace ( bool  bFlag = true)

Set the display state of option "Package Is Namespace".

Parameters
bFlagthe flag to set
Here is the call graph for this function:

◆ setRemovePrefixFromAccessorMethodName()

void CPPCodeGenerationForm::setRemovePrefixFromAccessorMethodName ( bool  bFlag = true)

Set the display state of the related checkbox

Parameters
bFlagthe flag to set
Here is the call graph for this function:

◆ setVirtualDestructors()

void CPPCodeGenerationForm::setVirtualDestructors ( bool  bFlag = true)

Set the display state of option "Virtual Destructors".

Parameters
bFlagthe flag to set
Here is the call graph for this function:

◆ toCheckState()

Qt::CheckState CPPCodeGenerationForm::toCheckState ( bool  value)
staticprivate

Conversion utility (static) from bool to Qt::CheckState.

Parameters
valuethe value to be converted
Returns
the check state

Friends And Related Function Documentation

◆ CPPCodeGenerationPolicyPage

friend class CPPCodeGenerationPolicyPage
friend

Member Data Documentation

◆ m_optionAccessorMethodsStartWithUpperCase

QListWidgetItem* CPPCodeGenerationForm::m_optionAccessorMethodsStartWithUpperCase
private

◆ m_optionAccessorsAreInline

QListWidgetItem* CPPCodeGenerationForm::m_optionAccessorsAreInline
private

◆ m_optionAccessorsArePublic

QListWidgetItem* CPPCodeGenerationForm::m_optionAccessorsArePublic
private

◆ m_optionDocToolTag

QListWidgetItem* CPPCodeGenerationForm::m_optionDocToolTag
private

◆ m_optionGenerateAccessorMethods

QListWidgetItem* CPPCodeGenerationForm::m_optionGenerateAccessorMethods
private

◆ m_optionGenerateEmptyConstructors

QListWidgetItem* CPPCodeGenerationForm::m_optionGenerateEmptyConstructors
private

◆ m_optionGetterWithGetPrefix

QListWidgetItem* CPPCodeGenerationForm::m_optionGetterWithGetPrefix
private

◆ m_optionOperationsAreInline

QListWidgetItem* CPPCodeGenerationForm::m_optionOperationsAreInline
private

◆ m_optionPackageIsANamespace

QListWidgetItem* CPPCodeGenerationForm::m_optionPackageIsANamespace
private

◆ m_optionRemovePrefixFromAccessorMethodName

QListWidgetItem* CPPCodeGenerationForm::m_optionRemovePrefixFromAccessorMethodName
private

◆ m_optionVirtualDestructors

QListWidgetItem* CPPCodeGenerationForm::m_optionVirtualDestructors
private

The documentation for this class was generated from the following files: