• 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
cppheadercodeoperation.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 CPPHEADERCODEOPERATION_H
13 #define CPPHEADERCODEOPERATION_H
14 
15 #include "codeoperation.h"
16 
17 #include <QString>
18 
19 class CPPHeaderCodeDocument;
20 
21 class CPPHeaderCodeOperation : virtual public CodeOperation
22 {
23  Q_OBJECT
24 public:
25 
29  CPPHeaderCodeOperation (CPPHeaderCodeDocument * doc, UMLOperation * op,
30  const QString & body = "", const QString & comment = "");
31 
35  virtual ~CPPHeaderCodeOperation ();
36 
37  virtual int lastEditableLine();
38 
39  virtual void updateMethodDeclaration();
40  virtual void updateContent();
41 
42 protected:
43 
47  virtual void applyStereotypes (QString&, UMLOperation *, bool, bool, QString&, QString&);
48 
49 };
50 
51 #endif // CPPHEADERCODEOPERATION_H
CPPHeaderCodeOperation::CPPHeaderCodeOperation
CPPHeaderCodeOperation(CPPHeaderCodeDocument *doc, UMLOperation *op, const QString &body="", const QString &comment="")
Constructor.
Definition: cppheadercodeoperation.cpp:21
CPPHeaderCodeDocument
class CPPHeaderCodeDocument A CPP UMLClassifier Header Code Document.
Definition: cppheadercodedocument.h:35
CPPHeaderCodeOperation::updateMethodDeclaration
virtual void updateMethodDeclaration()
This is the method called from within syncToparent().
Definition: cppheadercodeoperation.cpp:55
codeoperation.h
CPPHeaderCodeOperation::applyStereotypes
virtual void applyStereotypes(QString &, UMLOperation *, bool, bool, QString &, QString &)
Check to see if we have a valid stereotype to apply in the operation.
Definition: cppheadercodeoperation.cpp:131
CPPHeaderCodeOperation::lastEditableLine
virtual int lastEditableLine()
Definition: cppheadercodeoperation.cpp:121
CodeOperation
Definition: codeoperation.h:23
CPPHeaderCodeOperation::updateContent
virtual void updateContent()
This is the method called from within syncToparent() to update the body of the method.
Definition: cppheadercodeoperation.cpp:44
UMLOperation
This class represents an operation in the UML model.
Definition: operation.h:24
CPPHeaderCodeOperation
Definition: cppheadercodeoperation.h:21
CPPHeaderCodeOperation::~CPPHeaderCodeOperation
virtual ~CPPHeaderCodeOperation()
Empty Destructor.
Definition: cppheadercodeoperation.cpp:36
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