QElectroTech  0.8-dev
Public Member Functions | Private Member Functions | List of all members
MoveTitleBlockTemplatesHandler Class Referenceabstract

#include <movetemplateshandler.h>

Inheritance diagram for MoveTitleBlockTemplatesHandler:
Inheritance graph
Collaboration diagram for MoveTitleBlockTemplatesHandler:
Collaboration graph

Public Member Functions

 MoveTitleBlockTemplatesHandler (QObject *=nullptr)
 
 ~MoveTitleBlockTemplatesHandler () override
 
virtual QET::Action templateAlreadyExists (const TitleBlockTemplateLocation &src, const TitleBlockTemplateLocation &dst)=0
 
virtual QET::Action errorWithATemplate (const TitleBlockTemplateLocation &, const QString &)=0
 
virtual QString nameForRenamingOperation ()=0
 

Private Member Functions

 MoveTitleBlockTemplatesHandler (const MoveTitleBlockTemplatesHandler &)
 

Detailed Description

This class defines the minimal interface required to implement an object able to handle a title block template move or copy. It is a Strategy pattern that embeds the copy/move error handling instead of the whole process.

Constructor & Destructor Documentation

◆ MoveTitleBlockTemplatesHandler() [1/2]

MoveTitleBlockTemplatesHandler::MoveTitleBlockTemplatesHandler ( QObject *  = nullptr)
inline

◆ ~MoveTitleBlockTemplatesHandler()

MoveTitleBlockTemplatesHandler::~MoveTitleBlockTemplatesHandler ( )
inlineoverride

◆ MoveTitleBlockTemplatesHandler() [2/2]

MoveTitleBlockTemplatesHandler::MoveTitleBlockTemplatesHandler ( const MoveTitleBlockTemplatesHandler )
private

Member Function Documentation

◆ errorWithATemplate()

virtual QET::Action MoveTitleBlockTemplatesHandler::errorWithATemplate ( const TitleBlockTemplateLocation ,
const QString &   
)
pure virtual

◆ nameForRenamingOperation()

virtual QString MoveTitleBlockTemplatesHandler::nameForRenamingOperation ( )
pure virtual

◆ templateAlreadyExists()

virtual QET::Action MoveTitleBlockTemplatesHandler::templateAlreadyExists ( const TitleBlockTemplateLocation src,
const TitleBlockTemplateLocation dst 
)
pure virtual

The documentation for this class was generated from the following file: