• 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
cppheaderclassdeclarationblock.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 Brian Thomas <thomas@mail630.gsfc.nasa.gov> *
8  * copyright (C) 2004-2013 *
9  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
10  ***************************************************************************/
11 
12 #ifndef CPPHEADERCLASSDECLARATIONBLOCK_H
13 #define CPPHEADERCLASSDECLARATIONBLOCK_H
14 
15 #include "cppheadercodedocument.h"
16 #include "ownedhierarchicalcodeblock.h"
17 
18 #include <QString>
19 
20 class CPPHeaderClassDeclarationBlock : public OwnedHierarchicalCodeBlock
21 {
22  Q_OBJECT
23 public:
24 
28  explicit CPPHeaderClassDeclarationBlock (CPPHeaderCodeDocument * parentDoc, const QString &start = "", const QString &endText = "}", const QString &comment = "");
29 
33  virtual ~CPPHeaderClassDeclarationBlock ();
34 
38  void updateContent ();
39 
43  virtual void saveToXMI (QDomDocument & doc, QDomElement & root);
44 
45  virtual void loadFromXMI (QDomElement & root);
46 
47 protected:
48 
52  virtual void setAttributesFromObject (TextBlock * obj);
53 
54 private:
55 
56  void init (CPPHeaderCodeDocument * parent, const QString &comment);
57 
58 };
59 
60 #endif // CPPHEADERCLASSDECLARATIONBLOCK_H
OwnedHierarchicalCodeBlock
class OwnedHierarchicalCodeBlock A "chunk" of code within the code document that is "owned" by some u...
Definition: ownedhierarchicalcodeblock.h:26
CPPHeaderCodeDocument
class CPPHeaderCodeDocument A CPP UMLClassifier Header Code Document.
Definition: cppheadercodedocument.h:35
CPPHeaderClassDeclarationBlock::saveToXMI
virtual void saveToXMI(QDomDocument &doc, QDomElement &root)
Save the XMI representation of this object.
Definition: cppheaderclassdeclarationblock.cpp:48
CPPHeaderClassDeclarationBlock::~CPPHeaderClassDeclarationBlock
virtual ~CPPHeaderClassDeclarationBlock()
Empty Destructor.
Definition: cppheaderclassdeclarationblock.cpp:26
CPPHeaderClassDeclarationBlock::CPPHeaderClassDeclarationBlock
CPPHeaderClassDeclarationBlock(CPPHeaderCodeDocument *parentDoc, const QString &start="", const QString &endText="}", const QString &comment="")
Empty Constructor.
Definition: cppheaderclassdeclarationblock.cpp:20
CPPHeaderClassDeclarationBlock::loadFromXMI
virtual void loadFromXMI(QDomElement &root)
load params from the appropriate XMI element node.
Definition: cppheaderclassdeclarationblock.cpp:33
ownedhierarchicalcodeblock.h
CPPHeaderClassDeclarationBlock::updateContent
void updateContent()
Update the start/end text of this codeblock.
Definition: cppheaderclassdeclarationblock.cpp:60
CPPHeaderClassDeclarationBlock
Definition: cppheaderclassdeclarationblock.h:20
TextBlock
The fundemental unit of text within an output file containing code.
Definition: textblock.h:24
CPPHeaderClassDeclarationBlock::setAttributesFromObject
virtual void setAttributesFromObject(TextBlock *obj)
Set the class attributes from a passed object.
Definition: cppheaderclassdeclarationblock.cpp:40
cppheadercodedocument.h
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