TreeFrogFramework  1.18
Public Member Functions | Protected Member Functions | List of all members
TActionMailer Class Reference

#include <tactionmailer.h>

Inheritance diagram for TActionMailer:
Inheritance graph
Collaboration diagram for TActionMailer:
Collaboration graph

Public Member Functions

 TActionMailer ()
virtual ~TActionMailer ()
virtual QString name () const
virtual QString activeAction () const
- Public Member Functions inherited from TAbstractController
 TAbstractController ()
virtual ~TAbstractController ()

Protected Member Functions

bool deliver (const QString &templateName="mail")
- Protected Member Functions inherited from TAbstractController
QVariant variant (const QString &name) const
void exportVariant (const QString &name, const QVariant &value, bool overwrite=true)
void exportValidationErrors (const TFormValidator &validator, const QString &prefix=QString("err_"))
bool hasVariant (const QString &name) const
void exportVariants (const QVariantMap &map)
const QVariantMap & allVariants () const
QString viewClassName (const QString &action=QString()) const
QString viewClassName (const QString &contoller, const QString &action) const

Detailed Description

The TActionMailer class provides a mail client on action controller.

Constructor & Destructor Documentation

TActionMailer::TActionMailer ( )


virtual TActionMailer::~TActionMailer ( )

Member Function Documentation

QString TActionMailer::activeAction ( ) const

Returns a active action name, "mail".

Implements TAbstractController.

bool TActionMailer::deliver ( const QString &  templateName = "mail")

Delivers an email generated by setting variables to the specified template.

QString TActionMailer::name ( ) const

Returns the controller name, "mailer".

Implements TAbstractController.

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