QElectroTech  0.70
Public Member Functions | Private Member Functions | List of all members
MoveTitleBlockTemplatesHandler Class Referenceabstract

#include <movetemplateshandler.h>

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.

Definition at line 30 of file movetemplateshandler.h.

Constructor & Destructor Documentation

◆ MoveTitleBlockTemplatesHandler() [1/2]

MoveTitleBlockTemplatesHandler::MoveTitleBlockTemplatesHandler ( QObject *  = nullptr)
inline

Definition at line 35 of file movetemplateshandler.h.

◆ ~MoveTitleBlockTemplatesHandler()

MoveTitleBlockTemplatesHandler::~MoveTitleBlockTemplatesHandler ( )
inlineoverride

Definition at line 36 of file movetemplateshandler.h.

◆ 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: