1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/extrainfodialog.cpp Wed Jan 16 15:45:18 2008 +0000
1.3 @@ -0,0 +1,39 @@
1.4 +#include "extrainfodialog.h"
1.5 +
1.6 +
1.7 +ExtraInfoDialog::ExtraInfoDialog(QWidget *parent):QDialog (parent)
1.8 +{
1.9 + ui.setupUi (this);
1.10 +}
1.11 +
1.12 +
1.13 +void ExtraInfoDialog::setMapName(const QString &s)
1.14 +{
1.15 + ui.mapNameLE->setText (s);
1.16 +}
1.17 +
1.18 +void ExtraInfoDialog::setComment (const QString &s)
1.19 +{
1.20 + ui.commentTE->setText (s);
1.21 +}
1.22 +
1.23 +QString ExtraInfoDialog::getComment()
1.24 +{
1.25 + return ui.commentTE->text();
1.26 +}
1.27 +
1.28 +
1.29 +void ExtraInfoDialog::setAuthor(const QString &s)
1.30 +{
1.31 + ui.authorLE->setText (s);
1.32 +}
1.33 +
1.34 +QString ExtraInfoDialog::getAuthor()
1.35 +{
1.36 + return ui.authorLE->text();
1.37 +}
1.38 +
1.39 +void ExtraInfoDialog::setStats(const QString &s)
1.40 +{
1.41 + ui.statsTE->setText (s);
1.42 +}