diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-30 17:32:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-30 17:32:06 +0300 |
commit | c10e0009f7ad6930cb59caea6e971127bef441ee (patch) | |
tree | c9bdbd9fcf96841db0308e18b6de1c9d36ef3df3 /src/gui/windows/maileditwindow.cpp | |
parent | 7404124bf2578b713f613a749b283e8a1ed1faa3 (diff) | |
download | manaplus-c10e0009f7ad6930cb59caea6e971127bef441ee.tar.gz manaplus-c10e0009f7ad6930cb59caea6e971127bef441ee.tar.bz2 manaplus-c10e0009f7ad6930cb59caea6e971127bef441ee.tar.xz manaplus-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.cpp | 15 |
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); +} |