qt5
Last change
on this file since 83020cd was
83020cd,
checked in by pavelpa <pavelpa@…>, 13 years ago
|
forgotten in previous commit
|
-
Property mode set to
100644
|
File size:
740 bytes
|
Line | |
---|
1 | #include "conflictsdialog.h" |
---|
2 | |
---|
3 | ConflictsDialog::ConflictsDialog(int aEventId, QWidget *aParent) |
---|
4 | : QDialog(aParent) |
---|
5 | { |
---|
6 | setupUi(this); |
---|
7 | connect(container, SIGNAL(eventHasChanged(int,bool)), this, SIGNAL(eventHasChanged(int,bool))); |
---|
8 | connect(container, SIGNAL(eventHasChanged(int,bool)), container, SLOT(updateTreeViewModel(int,bool))); |
---|
9 | |
---|
10 | container->setEventId(aEventId); |
---|
11 | |
---|
12 | int confId = Conference::activeConference(); |
---|
13 | QDate startDate = Conference::getById(confId).start(); |
---|
14 | QDate endDate = Conference::getById(confId).end(); |
---|
15 | container->setDates(startDate, endDate); |
---|
16 | } |
---|
17 | |
---|
18 | ConflictsDialog::~ConflictsDialog() |
---|
19 | { |
---|
20 | disconnect(container, SIGNAL(eventHasChanged(int,bool)), this, SIGNAL(eventHasChanged(int,bool))); |
---|
21 | } |
---|
22 | |
---|
Note: See
TracBrowser
for help on using the repository browser.