extrainfodialog.cpp
author insilmaril
Wed, 20 May 2009 15:40:14 +0000
changeset 772 e3f722759c7e
parent 385 63e28dfd877d
permissions -rw-r--r--
Fixed segfault when closing a map
     1 #include "extrainfodialog.h"
     2 
     3 
     4 ExtraInfoDialog::ExtraInfoDialog(QWidget *parent):QDialog (parent)
     5 {
     6 	ui.setupUi (this);
     7 }
     8 
     9 
    10 void ExtraInfoDialog::setMapName(const QString &s)
    11 {
    12 	ui.mapNameLE->setText (s);
    13 }
    14 
    15 void ExtraInfoDialog::setComment (const QString &s)
    16 {
    17 	ui.commentTE->setText (s);
    18 }
    19 
    20 QString ExtraInfoDialog::getComment()
    21 {
    22 	return ui.commentTE->text();
    23 }	
    24 
    25 
    26 void ExtraInfoDialog::setAuthor(const QString &s)
    27 {
    28 	ui.authorLE->setText (s);
    29 }
    30 
    31 QString ExtraInfoDialog::getAuthor()
    32 {
    33 	return ui.authorLE->text();
    34 }
    35 
    36 void ExtraInfoDialog::setStats(const QString &s)
    37 {
    38 	ui.statsTE->setText (s);
    39 }