projects
/
badge
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f4fa5
)
change type
author
Nicola De Filippo
<nicola@nicoladefilippo.it>
Mon, 30 Nov 2009 17:19:29 +0000
(18:19 +0100)
committer
Nicola De Filippo
<nicola@nicoladefilippo.it>
Mon, 30 Nov 2009 17:19:29 +0000
(18:19 +0100)
dialogday.cpp
patch
|
blob
|
history
diff --git
a/dialogday.cpp
b/dialogday.cpp
index
6252182
..
52a6435
100644
(file)
--- a/
dialogday.cpp
+++ b/
dialogday.cpp
@@
-36,3
+36,14
@@
void DialogDay::enableSecond(bool enable)
m_ui->timeEditSBegin->setEnabled(enable);
m_ui->timeEditEndS->setEnabled(enable);
}
+
+
+TimeTable DialogDay::getTimes(TimeTable timetable)
+{
+ DialogDay day;
+ if (day.exec() == QDialog::Accepted) {
+ return timetable;
+ }
+ timetable.setWrong(true);
+ return timetable;
+}