Ignore:
Timestamp:
01/26/10 20:30:45 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
336fa33
Parents:
05afe5f
Message:

SqlEngine? made STATIC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/importschedulewidget.cpp

    r05afe5f r3a8dc71  
    22
    33#include <schedulexmlparser.h>
    4 #include <sqlengine.h>
    54
    65#include <QDir>
     
    1110ImportScheduleWidget::ImportScheduleWidget(QWidget *aParent)
    1211    : QWidget(aParent)
    13     , mSqlEngine(NULL)
    1412{
    1513    setupUi(this);
     
    3230}
    3331
    34 void ImportScheduleWidget::setSqlEngine(SqlEngine *aSqlEngine)
    35 {
    36     Q_ASSERT(aSqlEngine != NULL);
    37 
    38     mSqlEngine = aSqlEngine;
    39 }
    40 
    4132void ImportScheduleWidget::parsingSchedule(const QString &aTitle)
    4233{
     
    5142void ImportScheduleWidget::browseSchedule()
    5243{
    53     Q_ASSERT(mSqlEngine != NULL);
    54 
    5544    QString scheduleFileName = QFileDialog::getOpenFileName(this, tr("Select Conference Schedule"), QDir::homePath(), tr("Schedule Files (*.xml)"));
    5645    if(QFile::exists(scheduleFileName))
     
    6655        browse->hide();
    6756        progressBar->show();
    68         int confId = mXmlParser->parseData(data,mSqlEngine);
     57        int confId = mXmlParser->parseData(data);
    6958
    7059        progressBar->hide();
Note: See TracChangeset for help on using the changeset viewer.