TreeFrogFramework  2.8
tactionmailer.h
Go to the documentation of this file.
1 #pragma once
2 #include <TAbstractController>
3 #include <TActionContext>
4 
5 
7 public:
9  virtual ~TActionMailer() { }
10  virtual QString name() const;
11  virtual QString activeAction() const;
12 
13 protected:
14  bool deliver(const QString &templateName = "mail");
15 
16 private:
19 };
20 
The TAbstractController class is the abstract base class of controllers, providing functionality comm...
Definition: tabstractcontroller.h:13
virtual QString name() const =0
This function is reimplemented in subclasses to return a controller name.
virtual QString activeAction() const =0
This function is reimplemented in subclasses to return a active action name.
The TActionMailer class provides a mail client on action controller.
Definition: tactionmailer.h:6
virtual ~TActionMailer()
Definition: tactionmailer.h:9
#define T_CORE_EXPORT
Definition: tdeclexport.h:28
#define T_DISABLE_COPY(Class)
Definition: tdeclexport.h:37
#define T_DISABLE_MOVE(Class)
Definition: tdeclexport.h:41