mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-11 09:29:59 +02:00
Minor improvements in the TitleBlockTemplateLocation class.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1469 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#ifndef TITLEBLOCK_SLASH_TEMPLATE_LOCATION_H
|
||||
#define TITLEBLOCK_SLASH_TEMPLATE_LOCATION_H
|
||||
#include <QtCore>
|
||||
#include <QDomElement>
|
||||
class QETProject;
|
||||
class TitleBlockTemplate;
|
||||
class TitleBlockTemplatesCollection;
|
||||
@@ -46,11 +47,15 @@ class TitleBlockTemplateLocation {
|
||||
QString toString() const;
|
||||
QETProject *parentProject() const;
|
||||
QString protocol() const;
|
||||
QDomElement getTemplateXmlDescription() const;
|
||||
TitleBlockTemplate *getTemplate() const;
|
||||
|
||||
// attributes
|
||||
private:
|
||||
TitleBlockTemplatesCollection *collection_; ///< Collection the template belongs to
|
||||
QString name_; ///< Name of the template
|
||||
|
||||
public:
|
||||
static int MetaTypeId; ///< Id of the corresponding Qt meta type
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user