Helpviewer/UrlBar/BookmarkActionSelectionDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2954
bf0215fe12d1
child 3145
a9de05d4a22f
--- a/Helpviewer/UrlBar/BookmarkActionSelectionDialog.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Helpviewer/UrlBar/BookmarkActionSelectionDialog.py	Fri Oct 18 23:00:41 2013 +0200
@@ -4,7 +4,8 @@
 #
 
 """
-Module implementing a dialog to select the action to be performed on the bookmark.
+Module implementing a dialog to select the action to be performed on the
+bookmark.
 """
 
 from __future__ import unicode_literals    # __IGNORE_WARNING__
@@ -19,7 +20,8 @@
 
 class BookmarkActionSelectionDialog(QDialog, Ui_BookmarkActionSelectionDialog):
     """
-    Class implementing a dialog to select the action to be performed on the bookmark.
+    Class implementing a dialog to select the action to be performed on
+    the bookmark.
     """
     Undefined = -1
     AddBookmark = 0
@@ -53,7 +55,8 @@
         
         if Helpviewer.HelpWindow.HelpWindow.speedDial().pageForUrl(url).url:
             self.__sdAction = self.RemoveSpeeddial
-            self.speeddialPushButton.setText(self.trUtf8("Remove from Speed Dial"))
+            self.speeddialPushButton.setText(
+                self.trUtf8("Remove from Speed Dial"))
         else:
             self.__sdAction = self.AddSpeeddial
             self.speeddialPushButton.setText(self.trUtf8("Add to Speed Dial"))
@@ -77,5 +80,7 @@
     def getAction(self):
         """
         Public method to get the selected action.
+        
+        @return reference to the associated action
         """
         return self.__action

eric ide

mercurial