|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
/* This code generated by:
|
|
|
|
* Author : thomas
|
|
|
|
* Date : Wed Jun 18 2003
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef CODECOMMENT_H
|
|
|
|
#define CODECOMMENT_H
|
|
|
|
|
|
|
|
#include <tqstring.h>
|
|
|
|
|
|
|
|
#include "textblock.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* class CodeComment
|
|
|
|
* Text which will be comments. These should be bracketed by what ever code type
|
|
|
|
* comment the language requires.
|
|
|
|
*/
|
|
|
|
|
|
|
|
class CodeComment : public TextBlock
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
// Constructors/Destructors
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Empty Constructor
|
|
|
|
*/
|
|
|
|
explicit CodeComment ( CodeDocument * doc, const TQString & comment = "");
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Empty Destructor
|
|
|
|
*/
|
|
|
|
virtual ~CodeComment ( );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Save the XMI representation of this object
|
|
|
|
*/
|
|
|
|
virtual void saveToXMI ( TQDomDocument & doc, TQDomElement & root );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* load params from the appropriate XMI element node.
|
|
|
|
*/
|
|
|
|
virtual void loadFromXMI ( TQDomElement & root );
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CODECOMMENT_H
|