Updated qmake file, bumped version
[quandoparte] / application / stationscheduleitem.cpp
index 008c175..5ef0025 100644 (file)
@@ -1,6 +1,6 @@
 /*
 
-Copyright (C) 2011 mikelima
+Copyright (C) 2011 Luciano Montanaro <mikelima@cirulla.net>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -32,6 +32,8 @@ public:
     QString arrivalTime;
     QString detailsUrl;
     QString delay;
+    QString expectedPlatform;
+    QString actualPlatform;
     int delayClass;
 };
 
@@ -129,11 +131,31 @@ int StationScheduleItem::delayClass()
     return d->delayClass;
 }
 
-void StationScheduleItem::setDelayClass(const int value)
+void StationScheduleItem::setDelayClass(int value)
 {
     d->delayClass = value;
 }
 
+QString &StationScheduleItem::expectedPlatform()
+{
+    return d->expectedPlatform;
+}
+
+void StationScheduleItem::setExpectedPlatform(const QString &value)
+{
+    d->expectedPlatform = value;
+}
+
+QString &StationScheduleItem::actualPlatform()
+{
+    return d->actualPlatform;
+}
+
+void StationScheduleItem::setActualPlatform(const QString &value)
+{
+    d->actualPlatform = value;
+}
+
 bool StationScheduleItem::isValid()
 {
     return !d->train.isEmpty();