E5XML/TasksHandler.py

changeset 53
c3eb7cc1ff8b
parent 50
a36eecf45b2e
child 55
b5c84934de9c
equal deleted inserted replaced
52:ba69827929ee 53:c3eb7cc1ff8b
8 """ 8 """
9 9
10 import os 10 import os
11 import time 11 import time
12 12
13 from E4Gui.E4Application import e4App 13 from E4Gui.E4Application import e5App
14 14
15 from .Config import tasksFileFormatVersion 15 from .Config import tasksFileFormatVersion
16 from .XMLHandlerBase import XMLHandlerBase 16 from .XMLHandlerBase import XMLHandlerBase
17 17
18 import Utilities 18 import Utilities
46 46
47 self.forProject = forProject 47 self.forProject = forProject
48 if taskViewer: 48 if taskViewer:
49 self.taskViewer = taskViewer 49 self.taskViewer = taskViewer
50 else: 50 else:
51 self.taskViewer = e4App().getObject("TaskViewer") 51 self.taskViewer = e5App().getObject("TaskViewer")
52 52
53 def startDocumentTasks(self): 53 def startDocumentTasks(self):
54 """ 54 """
55 Handler called, when the document parsing is started. 55 Handler called, when the document parsing is started.
56 """ 56 """

eric ide

mercurial