extrainfodialog.cpp
author insilmaril
Wed Jul 04 11:05:10 2007 +0000 (2007-07-04)
changeset 535 e97edeb0dcd3
permissions -rw-r--r--
Version 1.9.0
     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 }