Ignore:
Timestamp:
01/21/10 23:28:04 (13 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
b8a3ad1
Parents:
c718a77
Message:

modifications to import-schedule dialog

  • closed automatically after parsing/importing schedule
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/importscheduledialog.cpp

    rc718a77 rd336730  
    1616
    1717    mXmlParser = new ScheduleXmlParser(this);
    18     connect(mXmlParser, SIGNAL(progressStatus(int)), this, SLOT(showParsingProgress(int)));
     18    connect(mXmlParser, SIGNAL(progressStatus(int)), SLOT(showParsingProgress(int)));
     19    connect(mXmlParser, SIGNAL(parsingSchedule(const QString &)), SLOT(setWindowTitle(const QString &)));
     20
    1921    connect(import, SIGNAL(clicked()), SLOT(importSchedule()));
    2022    connect(search, SIGNAL(clicked()), SLOT(searchSchedule()));
     
    4042{
    4143    mScheduleFileName = QFileDialog::getOpenFileName(this, tr("Select Conference Schedule"), QDir::homePath(), tr("Schedule Files (*.xml)"));
    42     fileName->setText(mScheduleFileName);
    4344    if(QFile::exists(mScheduleFileName))
    4445        import->setEnabled(true);
     
    6465        progressBar->show();
    6566        mXmlParser->parseData(data,mSqlEngine);
     67        close();
    6668    }
    6769}
Note: See TracChangeset for help on using the changeset viewer.