• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

  • sources
  • kde-4.12
  • kdesdk
  • umbrello
  • umbrello
  • codegenerators
  • cpp
cppcodegenerationform.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-2013 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 #ifndef CPPCODEGENERATIONFORM_H
11 #define CPPCODEGENERATIONFORM_H
12 
13 #include "ui_cppcodegenerationformbase.h"
14 
15 class QListWidgetItem;
16 
21 class CPPCodeGenerationForm : public QWidget, private Ui::CPPCodeGenerationFormBase
22 {
23  Q_OBJECT
24 public:
25 
26  explicit CPPCodeGenerationForm (QWidget *parent = 0, const char *name = 0);
27  virtual ~CPPCodeGenerationForm();
28 
29  void setPackageIsANamespace(bool bFlag = true);
30  void setVirtualDestructors(bool bFlag = true);
31  void setGenerateEmptyConstructors(bool bFlag = true);
32  void setGenerateAccessorMethods(bool bFlag = true);
33  void setOperationsAreInline(bool bFlag = true);
34  void setAccessorsAreInline(bool bFlag = true);
35  void setAccessorsArePublic(bool bFlag = true);
36  void setGenerateMakefileDocument(bool bFlag = true);
37  void setDocToolTag(const QString &value);
38 
39  bool getPackageIsANamespace();
40  bool getVirtualDestructors();
41  bool getGenerateEmptyConstructors();
42  bool getGenerateAccessorMethods();
43  bool getOperationsAreInline();
44  bool getAccessorsAreInline();
45  bool getAccessorsArePublic();
46  bool getGenerateMakefileDocument();
47  QString getDocToolTag();
48 
49 public slots:
50 
51  virtual void browseClicked();
52 
53 private slots:
54 
55  virtual void generalOptionsListWidgetClicked(QListWidgetItem *);
56 
57 private:
58 
59  friend class CPPCodeGenerationPolicyPage;
60 
61  // check boxes for the available options
62  QListWidgetItem *m_optionPackageIsANamespace;
63  QListWidgetItem *m_optionVirtualDestructors;
64  QListWidgetItem *m_optionGenerateEmptyConstructors;
65  QListWidgetItem *m_optionGenerateAccessorMethods;
66  QListWidgetItem *m_optionOperationsAreInline;
67  QListWidgetItem *m_optionAccessorsAreInline;
68  QListWidgetItem *m_optionAccessorsArePublic;
69  QListWidgetItem *m_optionDocToolTag;
70 
71  static Qt::CheckState toCheckState(bool value);
72 
73 };
74 
75 #endif
76 
CPPCodeGenerationForm::browseClicked
virtual void browseClicked()
Slot for clicking on the browse buttons.
Definition: cppcodegenerationform.cpp:84
CPPCodeGenerationForm::getOperationsAreInline
bool getOperationsAreInline()
Get the display state of option "Operations Are Inline".
Definition: cppcodegenerationform.cpp:294
CPPCodeGenerationForm::getGenerateAccessorMethods
bool getGenerateAccessorMethods()
Get the display state of option "Generate Accessor Methods".
Definition: cppcodegenerationform.cpp:285
QWidget
CPPCodeGenerationForm::setPackageIsANamespace
void setPackageIsANamespace(bool bFlag=true)
Set the display state of option "Package Is Namespace".
Definition: cppcodegenerationform.cpp:178
CPPCodeGenerationForm::setAccessorsAreInline
void setAccessorsAreInline(bool bFlag=true)
Set the display state of option "Accessors Are Inline".
Definition: cppcodegenerationform.cpp:231
CPPCodeGenerationForm::getVirtualDestructors
bool getVirtualDestructors()
Get the display state of option "Virtual Destructors".
Definition: cppcodegenerationform.cpp:267
CPPCodeGenerationForm::~CPPCodeGenerationForm
virtual ~CPPCodeGenerationForm()
Destructor.
Definition: cppcodegenerationform.cpp:77
CPPCodeGenerationForm::setVirtualDestructors
void setVirtualDestructors(bool bFlag=true)
Set the display state of option "Virtual Destructors".
Definition: cppcodegenerationform.cpp:187
CPPCodeGenerationForm::setDocToolTag
void setDocToolTag(const QString &value)
Set the doc display state of option "Doc Tool Tag".
Definition: cppcodegenerationform.cpp:249
CPPCodeGenerationForm::setAccessorsArePublic
void setAccessorsArePublic(bool bFlag=true)
Set the display state of option "Accessors Are Public".
Definition: cppcodegenerationform.cpp:240
CPPCodeGenerationForm
Definition: cppcodegenerationform.h:21
CPPCodeGenerationForm::setGenerateAccessorMethods
void setGenerateAccessorMethods(bool bFlag=true)
Set the display state of option "Generate Accessor Methods".
Definition: cppcodegenerationform.cpp:205
CPPCodeGenerationForm::getAccessorsAreInline
bool getAccessorsAreInline()
Get the display state of option "Accessors Are Inline".
Definition: cppcodegenerationform.cpp:303
CPPCodeGenerationPolicyPage
Definition: cppcodegenerationpolicypage.h:20
CPPCodeGenerationForm::getGenerateEmptyConstructors
bool getGenerateEmptyConstructors()
Get the display state of option "Generate Empty Constructors".
Definition: cppcodegenerationform.cpp:276
CPPCodeGenerationForm::CPPCodeGenerationForm
CPPCodeGenerationForm(QWidget *parent=0, const char *name=0)
Constructor.
Definition: cppcodegenerationform.cpp:30
CPPCodeGenerationForm::setOperationsAreInline
void setOperationsAreInline(bool bFlag=true)
Set the display state of option "Operations Are Inline".
Definition: cppcodegenerationform.cpp:222
CPPCodeGenerationForm::getAccessorsArePublic
bool getAccessorsArePublic()
Get the display state of option "Accessors Are Public".
Definition: cppcodegenerationform.cpp:312
CPPCodeGenerationForm::getDocToolTag
QString getDocToolTag()
Definition: cppcodegenerationform.cpp:317
CPPCodeGenerationForm::setGenerateMakefileDocument
void setGenerateMakefileDocument(bool bFlag=true)
CPPCodeGenerationForm::getGenerateMakefileDocument
bool getGenerateMakefileDocument()
CPPCodeGenerationForm::getPackageIsANamespace
bool getPackageIsANamespace()
Get the display state of option "Package Is Namespace".
Definition: cppcodegenerationform.cpp:258
CPPCodeGenerationForm::setGenerateEmptyConstructors
void setGenerateEmptyConstructors(bool bFlag=true)
Set the display state of option "Generate Empty Constructors".
Definition: cppcodegenerationform.cpp:196
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal