Commit d154752b authored by Laurent Montel's avatar Laurent Montel 😁

Add subject here

parent 7981428c
......@@ -21,12 +21,43 @@
using namespace MessageComposer;
class MessageComposer::PluginEditorCheckBeforeSendParamsPrivate
{
public:
PluginEditorCheckBeforeSendParamsPrivate()
{
}
QString subject;
};
PluginEditorCheckBeforeSendParams::PluginEditorCheckBeforeSendParams()
: d(new MessageComposer::PluginEditorCheckBeforeSendParamsPrivate)
{
}
PluginEditorCheckBeforeSendParams::~PluginEditorCheckBeforeSendParams()
{
delete d;
}
PluginEditorCheckBeforeSendParams &PluginEditorCheckBeforeSendParams::operator=(const PluginEditorCheckBeforeSendParams &other)
{
if (this != &other) {
d->subject = other.subject();
}
return *this;
}
void PluginEditorCheckBeforeSendParams::setSubject(const QString &subject)
{
d->subject = subject;
}
QString PluginEditorCheckBeforeSendParams::subject() const
{
return d->subject;
}
......@@ -25,11 +25,19 @@
namespace MessageComposer
{
class PluginEditorCheckBeforeSendParamsPrivate;
class MESSAGECOMPOSER_EXPORT PluginEditorCheckBeforeSendParams
{
public:
PluginEditorCheckBeforeSendParams();
~PluginEditorCheckBeforeSendParams();
void setSubject(const QString &subject);
QString subject() const;
PluginEditorCheckBeforeSendParams &operator =(const PluginEditorCheckBeforeSendParams &other);
private:
PluginEditorCheckBeforeSendParamsPrivate *const d;
};
}
#endif // PLUGINEDITORCHECKBEFORESENDPARAMS_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment