summaryrefslogtreecommitdiff
path: root/src/gui/windows/maileditwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-30 17:32:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-30 17:32:06 +0300
commitc10e0009f7ad6930cb59caea6e971127bef441ee (patch)
treec9bdbd9fcf96841db0308e18b6de1c9d36ef3df3 /src/gui/windows/maileditwindow.cpp
parent7404124bf2578b713f613a749b283e8a1ed1faa3 (diff)
downloadmv-c10e0009f7ad6930cb59caea6e971127bef441ee.tar.gz
mv-c10e0009f7ad6930cb59caea6e971127bef441ee.tar.bz2
mv-c10e0009f7ad6930cb59caea6e971127bef441ee.tar.xz
mv-c10e0009f7ad6930cb59caea6e971127bef441ee.zip
Add reply button for reply to mail message.
Diffstat (limited to 'src/gui/windows/maileditwindow.cpp')
-rw-r--r--src/gui/windows/maileditwindow.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gui/windows/maileditwindow.cpp b/src/gui/windows/maileditwindow.cpp
index d6f91e394..2d65e73e6 100644
--- a/src/gui/windows/maileditwindow.cpp
+++ b/src/gui/windows/maileditwindow.cpp
@@ -179,3 +179,18 @@ void MailEditWindow::addItem(const Item *const item, const int amount)
Equipm_false,
Equipped_false);
}
+
+void MailEditWindow::setSubject(const std::string &str)
+{
+ mSubjectField->setText(str);
+}
+
+void MailEditWindow::setTo(const std::string &str)
+{
+ mToField->setText(str);
+}
+
+void MailEditWindow::setMessage(const std::string &str)
+{
+ mMessageField->setText(str);
+}