--- a/eric7/Tasks/TaskViewer.py Sat May 22 17:01:51 2021 +0200 +++ b/eric7/Tasks/TaskViewer.py Sat May 22 18:51:46 2021 +0200 @@ -21,9 +21,9 @@ QMenu, QAbstractItemView, QTreeWidgetItem ) -from E5Gui.E5Application import e5App -from E5Gui import E5MessageBox -from E5Gui.E5ProgressDialog import E5ProgressDialog +from E5Gui.EricApplication import ericApp +from E5Gui import EricMessageBox +from E5Gui.EricProgressDialog import EricProgressDialog from .Task import Task, TaskType, TaskPriority @@ -671,7 +671,7 @@ @param on flag indicating the filter state (boolean) """ if on and not self.taskFilter.hasActiveFilter(): - res = E5MessageBox.yesNo( + res = EricMessageBox.yesNo( self, self.tr("Activate task filter"), self.tr( @@ -744,7 +744,7 @@ self.__projectTaskExtractionThread.scan( markers, [os.path.join(ppath, f) for f in files]) else: - progress = E5ProgressDialog( + progress = EricProgressDialog( self.tr("Extracting project tasks..."), self.tr("Abort"), 0, len(files), self.tr("%v/%m Files")) progress.setMinimumDuration(0) @@ -794,7 +794,7 @@ """ Private method to open the configuration dialog. """ - e5App().getObject("UserInterface").showPreferences("tasksPage") + ericApp().getObject("UserInterface").showPreferences("tasksPage") def saveProjectTasks(self): """