Toolbox/Startup.py

changeset 2965
d133c7edd88a
parent 2683
ef93fc7332a2
child 3030
4a0a82ddd9d2
child 3057
10516539f238
--- a/Toolbox/Startup.py	Sun Sep 29 15:54:10 2013 +0200
+++ b/Toolbox/Startup.py	Sun Sep 29 18:22:08 2013 +0200
@@ -4,7 +4,7 @@
 #
 
 """
-Module implementing some startup helper funcions
+Module implementing some startup helper funcions.
 """
 
 import os
@@ -94,7 +94,8 @@
 
     @param dirs Searchpath for the translations. (list of strings)
     @param tn The translation to be loaded. (string)
-    @return Tuple of a status flag and the loaded translator. (int, QTranslator)
+    @return Tuple of a status flag and the loaded translator
+        (int, QTranslator)
     """
     trans = QTranslator(None)
     for dir in dirs:
@@ -187,7 +188,8 @@
 def simpleAppStartup(argv, appinfo, mwFactory, quitOnLastWindowClosed=True,
     app=None, raiseIt=True, installErrorHandler=False):
     """
-    Module function to start up an application that doesn't need a specialized start up.
+    Module function to start up an application that doesn't need a specialized
+    start up.
     
     This function is used by all of eric5's helper programs.
     
@@ -202,9 +204,11 @@
     @keyparam quitOnLastWindowClosed flag indicating to quit the application,
         if the last window was closed (boolean)
     @keyparam app reference to the application object (QApplication or None)
-    @keyparam raiseIt flag indicating to raise the generated application window (boolean)
+    @keyparam raiseIt flag indicating to raise the generated application
+        window (boolean)
     @keyparam installErrorHandler flag indicating to install an error
         handler dialog (boolean)
+    @return exit result (integer)
     """
     handleArgs(argv, appinfo)
     if app is None:

eric ide

mercurial