__website__ = 'https://github.com/kelvan/gotoVienna/'
__license__ = 'GNU General Public License v3 or later'
-from PySide.QtCore import *
-from PySide.QtGui import *
-from PySide.QtDeclarative import *
+from PySide.QtCore import QAbstractListModel, QModelIndex, QObject, Slot, Signal
+from PySide.QtGui import QApplication
+from PySide.QtDeclarative import QDeclarativeView
from gotovienna.utils import *
from gotovienna.realtime import *
@Slot(str)
def load_departures(self, url):
def load_async():
- self.current_departures = [str(x) for x in
+ self.current_departures = [x.get_ftime() for x in
self.itip.get_departures(url)]
print self.current_departures
self.departuresLoaded.emit()