umbrello: umbrello/codegenerators/cpp/cppcodegenerationpolicypage.h Source File

umbrello 2.31.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

cppcodegenerationpolicypage.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2003-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10 #ifndef CPPCODEGENERATIONPOLICYPAGE_H
11 #define CPPCODEGENERATIONPOLICYPAGE_H
12
13 #include "codegenerationpolicypage.h"
14 #include "cppcodegenerationform.h"
15 #include "cppcodegenerationpolicy.h"
16
20 class CPPCodeGenerationPolicyPage : public CodeGenerationPolicyPage
21 {
22 Q_OBJECT
23 public:
24
25 explicit CPPCodeGenerationPolicyPage (QWidget *parent = 0, const char *name = 0, CPPCodeGenerationPolicy * policy = 0);
26
27 virtual ~CPPCodeGenerationPolicyPage();
28
29 protected:
30
31 CPPCodeGenerationForm * form;
32
33 public slots:
34
35 void apply();
36
37 };
38
39 #endif
40
CPPCodeGenerationPolicyPage::~CPPCodeGenerationPolicyPage
virtual ~CPPCodeGenerationPolicyPage()
Definition: cppcodegenerationpolicypage.cpp:61
CPPCodeGenerationPolicy::getDocToolTag
QString getDocToolTag()
Definition: cppcodegenerationpolicy.cpp:256
CPPCodeGenerationPolicy::getPackageIsNamespace
bool getPackageIsNamespace()
Definition: cppcodegenerationpolicy.cpp:171
cppcodegenerationpolicypage.h
CPPCodeGenerationPolicy::getVectorClassName
QString getVectorClassName()
Definition: cppcodegenerationpolicy.cpp:205
CPPCodeGenerationForm::setGenerateAccessorMethods
void setGenerateAccessorMethods(bool bFlag=true)
Definition: cppcodegenerationform.cpp:235
CPPCodeGenerationPolicy::setStringClassNameInclude
void setStringClassNameInclude(const QString &value)
Definition: cppcodegenerationpolicy.cpp:221
CPPCodeGenerationForm::getGenerateEmptyConstructors
bool getGenerateEmptyConstructors()
Definition: cppcodegenerationform.cpp:342
CPPCodeGenerationPolicy::setDocToolTag
void setDocToolTag(const QString &value)
Definition: cppcodegenerationpolicy.cpp:250
CPPCodeGenerationForm::getRemovePrefixFromAccessorMethodName
bool getRemovePrefixFromAccessorMethodName()
Definition: cppcodegenerationform.cpp:396
CPPCodeGenerationPolicy::setGetterWithGetPrefix
void setGetterWithGetPrefix(bool var)
Definition: cppcodegenerationpolicy.cpp:124
CPPCodeGenerationPolicy::vectorIncludeIsGlobal
bool vectorIncludeIsGlobal()
Definition: cppcodegenerationpolicy.cpp:274
UMLApp::commonPolicy
CodeGenerationPolicy * commonPolicy() const
Definition: uml.cpp:2274
CodeGenerationPolicy::setAutoGenerateConstructors
void setAutoGenerateConstructors(bool var)
Definition: codegenerationpolicy.cpp:355
CPPCodeGenerationPolicy::setAccessorMethodsStartWithUpperCase
void setAccessorMethodsStartWithUpperCase(bool var)
Definition: cppcodegenerationpolicy.cpp:146
CPPCodeGenerationPolicy::setStringIncludeIsGlobal
void setStringIncludeIsGlobal(bool value)
Definition: cppcodegenerationpolicy.cpp:283
cppcodegenerationform.h
CPPCodeGenerationPolicy::setVectorClassNameInclude
void setVectorClassNameInclude(const QString &value)
Definition: cppcodegenerationpolicy.cpp:233
CPPCodeGenerationPolicy::getGetterWithGetPrefix
bool getGetterWithGetPrefix()
Definition: cppcodegenerationpolicy.cpp:130
CPPCodeGenerationPolicy::setVectorClassName
void setVectorClassName(const QString &value)
Definition: cppcodegenerationpolicy.cpp:227
CPPCodeGenerationPolicy::setVectorIncludeIsGlobal
void setVectorIncludeIsGlobal(bool value)
Definition: cppcodegenerationpolicy.cpp:293
CPPCodeGenerationPolicyPage::form
CPPCodeGenerationForm * form
Definition: cppcodegenerationpolicypage.h:39
CPPCodeGenerationForm::getAccessorMethodsStartWithUpperCase
bool getAccessorMethodsStartWithUpperCase()
Definition: cppcodegenerationform.cpp:405
CPPCodeGenerationPolicyPage::CPPCodeGenerationPolicyPage
CPPCodeGenerationPolicyPage(QWidget *parent=0, const char *name=0, CPPCodeGenerationPolicy *policy=0)
Definition: cppcodegenerationpolicypage.cpp:27
CodeGenerationPolicy::emitModifiedCodeContentSig
void emitModifiedCodeContentSig()
Definition: codegenerationpolicy.cpp:420
CPPCodeGenerationPolicy
Definition: cppcodegenerationpolicy.h:22
CPPCodeGenerationForm::setGetterWithoutGetPrefix
void setGetterWithoutGetPrefix(bool bFlag=true)
Definition: cppcodegenerationform.cpp:279
CPPCodeGenerationPolicyPage::apply
void apply()
Definition: cppcodegenerationpolicypage.cpp:65
codegenerationpolicypage.h
CPPCodeGenerationPolicy::setClassMemberPrefix
void setClassMemberPrefix(const QString &value)
Definition: cppcodegenerationpolicy.cpp:239
CPPCodeGenerationForm::setVirtualDestructors
void setVirtualDestructors(bool bFlag=true)
Definition: cppcodegenerationform.cpp:217
CPPCodeGenerationPolicy::getStringClassName
QString getStringClassName()
Definition: cppcodegenerationpolicy.cpp:195
CPPCodeGenerationForm::setClassMemberPrefix
void setClassMemberPrefix(const QString &value)
Definition: cppcodegenerationform.cpp:315
CodeGenerationPolicy::CommentStyle
CommentStyle
Definition: codegenerationpolicy.h:50
CPPCodeGenerationPolicy::getAccessorsAreInline
bool getAccessorsAreInline()
Definition: cppcodegenerationpolicy.cpp:81
CPPCodeGenerationPolicy::setAccessorsAreInline
void setAccessorsAreInline(bool var)
Definition: cppcodegenerationpolicy.cpp:71
CPPCodeGenerationPolicy::getStringClassNameInclude
QString getStringClassNameInclude()
Definition: cppcodegenerationpolicy.cpp:200
CPPCodeGenerationPolicy::setPackageIsNamespace
void setPackageIsNamespace(bool var)
Definition: cppcodegenerationpolicy.cpp:161
CPPCodeGenerationForm::setAccessorsAreInline
void setAccessorsAreInline(bool bFlag=true)
Definition: cppcodegenerationform.cpp:261
CPPCodeGenerationForm::setAccessorsArePublic
void setAccessorsArePublic(bool bFlag=true)
Definition: cppcodegenerationform.cpp:270
CPPCodeGenerationPolicy::setRemovePrefixFromAccessorMethods
void setRemovePrefixFromAccessorMethods(bool var)
Definition: cppcodegenerationpolicy.cpp:135
CPPCodeGenerationPolicy::getDestructorsAreVirtual
bool getDestructorsAreVirtual()
Definition: cppcodegenerationpolicy.cpp:119
CodeGenerationPolicyPage::m_parentPolicy
CodeGenPolicyExt * m_parentPolicy
Definition: codegenerationpolicypage.h:42
CPPCodeGenerationForm::setGenerateEmptyConstructors
void setGenerateEmptyConstructors(bool bFlag=true)
Definition: cppcodegenerationform.cpp:226
CPPCodeGenerationForm
Definition: cppcodegenerationform.h:21
CPPCodeGenerationForm::getAccessorsArePublic
bool getAccessorsArePublic()
Definition: cppcodegenerationform.cpp:378
CPPCodeGenerationForm::setDocToolTag
void setDocToolTag(const QString &value)
Definition: cppcodegenerationform.cpp:306
CodeGenerationPolicy::setCommentStyle
void setCommentStyle(CommentStyle new_var)
Definition: codegenerationpolicy.cpp:94
CPPCodeGenerationForm::getVirtualDestructors
bool getVirtualDestructors()
Definition: cppcodegenerationform.cpp:333
CPPCodeGenerationPolicy::getRemovePrefixFromAccessorMethods
bool getRemovePrefixFromAccessorMethods()
Definition: cppcodegenerationpolicy.cpp:141
CPPCodeGenerationPolicy::getVectorClassNameInclude
QString getVectorClassNameInclude()
Definition: cppcodegenerationpolicy.cpp:210
CPPCodeGenerationForm::getGenerateAccessorMethods
bool getGenerateAccessorMethods()
Definition: cppcodegenerationform.cpp:351
CodeGenerationPolicy
Definition: codegenerationpolicy.h:29
uDebug
#define uDebug()
Definition: debug_utils.h:122
CPPCodeGenerationForm::getClassMemberPrefix
QString getClassMemberPrefix()
Definition: cppcodegenerationform.cpp:423
CPPCodeGenerationPolicy::getClassMemberPrefix
QString getClassMemberPrefix()
Definition: cppcodegenerationpolicy.cpp:245
CodeGenerationPolicyPage
Definition: codegenerationpolicypage.h:30
CPPCodeGenerationPolicy::setOperationsAreInline
void setOperationsAreInline(bool var)
Definition: cppcodegenerationpolicy.cpp:90
CPPCodeGenerationPolicy::setStringClassName
void setStringClassName(const QString &value)
Definition: cppcodegenerationpolicy.cpp:215
CodeGenerationPolicy::getCommentStyle
CommentStyle getCommentStyle()
Definition: codegenerationpolicy.cpp:104
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
cppcodegenerationpolicy.h
CPPCodeGenerationForm::getGettersWithGetPrefix
bool getGettersWithGetPrefix()
Definition: cppcodegenerationform.cpp:387
CPPCodeGenerationForm::setPackageIsANamespace
void setPackageIsANamespace(bool bFlag=true)
Definition: cppcodegenerationform.cpp:208
CPPCodeGenerationPolicy::getOperationsAreInline
bool getOperationsAreInline()
Definition: cppcodegenerationpolicy.cpp:100
CPPCodeGenerationForm::setAccessorMethodsStartWithUpperCase
void setAccessorMethodsStartWithUpperCase(bool bFlag)
Definition: cppcodegenerationform.cpp:297
CPPCodeGenerationForm::setOperationsAreInline
void setOperationsAreInline(bool bFlag=true)
Definition: cppcodegenerationform.cpp:252
CPPCodeGenerationPolicy::stringIncludeIsGlobal
bool stringIncludeIsGlobal()
Definition: cppcodegenerationpolicy.cpp:265
uml.h
CPPCodeGenerationForm::getAccessorsAreInline
bool getAccessorsAreInline()
Definition: cppcodegenerationform.cpp:369
debug_utils.h
CPPCodeGenerationForm::setRemovePrefixFromAccessorMethodName
void setRemovePrefixFromAccessorMethodName(bool bFlag=true)
Definition: cppcodegenerationform.cpp:288
CPPCodeGenerationPolicy::setAccessorsArePublic
void setAccessorsArePublic(bool var)
Definition: cppcodegenerationpolicy.cpp:51
CPPCodeGenerationForm::getDocToolTag
QString getDocToolTag()
Definition: cppcodegenerationform.cpp:414
CPPCodeGenerationPolicyPage
Definition: cppcodegenerationpolicypage.h:20
CPPCodeGenerationPolicy::getAccessorMethodsStartWithUpperCase
bool getAccessorMethodsStartWithUpperCase()
Definition: cppcodegenerationpolicy.cpp:152
CodeGenerationPolicy::getAutoGenerateConstructors
bool getAutoGenerateConstructors()
Definition: codegenerationpolicy.cpp:365
CPPCodeGenerationPolicy::setAutoGenerateAccessors
void setAutoGenerateAccessors(bool var)
Definition: cppcodegenerationpolicy.cpp:180
CPPCodeGenerationPolicy::getAutoGenerateAccessors
bool getAutoGenerateAccessors()
Definition: cppcodegenerationpolicy.cpp:190
CPPCodeGenerationForm::getPackageIsANamespace
bool getPackageIsANamespace()
Definition: cppcodegenerationform.cpp:324
CPPCodeGenerationPolicy::setDestructorsAreVirtual
void setDestructorsAreVirtual(bool var)
Definition: cppcodegenerationpolicy.cpp:109
CPPCodeGenerationPolicy::getAccessorsArePublic
bool getAccessorsArePublic()
Definition: cppcodegenerationpolicy.cpp:62
CPPCodeGenerationForm::getOperationsAreInline
bool getOperationsAreInline()
Definition: cppcodegenerationform.cpp:360