Ignore:
Timestamp:
01/26/10 13:51:56 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
830f102
Parents:
01df23f
Message:

import schedule dialog

  • changed to widget
  • moved to 'conference' tab
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    r01df23f rc15be10  
    1919#include "eventdialog.h"
    2020#include "daynavigatorwidget.h"
    21 #include "importscheduledialog.h"
     21#include "importschedulewidget.h"
    2222#include "mapwindow.h"
    2323
     
    3131    mSqlEngine = new SqlEngine(this);
    3232    mSqlEngine->initialize();
     33    importScheduleWidget->setSqlEngine(mSqlEngine);
    3334
    3435    // Sanity check for existence of any Conference in the DB
     
    4647    }
    4748
     49    connect(importScheduleWidget, SIGNAL(scheduleImported(int)), SLOT(scheduleImported(int)));
     50
    4851    // connect Menu actions
    49     connect(actionImportSchedule, SIGNAL(triggered()), SLOT(importSchedule()));
    5052    connect(actionAboutQt, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
    5153    connect(actionAboutApplication, SIGNAL(triggered()), SLOT(aboutApp()));
     
    200202}
    201203
    202 void MainWindow::importSchedule()
    203 {
    204     ImportScheduleDialog dialog(mSqlEngine,this);
    205     dialog.exec();
     204void MainWindow::scheduleImported(int aConfId)
     205{
     206    Q_UNUSED(aConfId);
    206207
    207208    QList<Conference> confs = Conference::getAll();
Note: See TracChangeset for help on using the changeset viewer.