diff -r 94ee489db94c -r 4ac2329b36da PluginTimeTracker.py --- a/PluginTimeTracker.py Thu Apr 09 18:44:42 2020 +0200 +++ b/PluginTimeTracker.py Tue Jun 23 19:40:26 2020 +0200 @@ -7,8 +7,6 @@ Module implementing the Time Tracker plugin. """ -from __future__ import unicode_literals - import os from PyQt5.QtCore import QObject, QTranslator, QCoreApplication @@ -24,17 +22,17 @@ author = "Detlev Offenbach <detlev@die-offenbachs.de>" autoactivate = True deactivateable = True -version = "2.1.0" +version = "3.0.0" className = "TimeTrackerPlugin" packageName = "TimeTracker" shortDescription = "Time Tracker to keep track of the project time." -longDescription = \ - """This plug-in implements a time tracker to keep track""" \ - """ of the time used for a project. The time can be subdivided""" \ +longDescription = ( + """This plug-in implements a time tracker to keep track""" + """ of the time used for a project. The time can be subdivided""" """ into tasks.""" +) needsRestart = False pyqtApi = 2 -python2Compatible = True # End-Of-Header error = "" @@ -51,9 +49,8 @@ """ global timeTrackerPluginObject from TimeTracker.ConfigurationPage.TimeTrackerPage import TimeTrackerPage - page = TimeTrackerPage(timeTrackerPluginObject) - return page - + return TimeTrackerPage(timeTrackerPluginObject) + def getConfigData(): """