Network/IRC/IrcChannelWidget.py

changeset 2960
9453efa25fd5
parent 2632
94121e2f55b9
child 2992
dbdf27746da5
--- a/Network/IRC/IrcChannelWidget.py	Sun Sep 29 12:04:35 2013 +0200
+++ b/Network/IRC/IrcChannelWidget.py	Sun Sep 29 14:12:38 2013 +0200
@@ -129,7 +129,7 @@
         Private method to convert an icon to an away icon.
         
         @param icon icon to be converted (QIcon)
-        @param away icon (QIcon)
+        @return away icon (QIcon)
         """
         pix1 = icon.pixmap(16, 16)
         pix2 = UI.PixmapCache.getPixmap("ircAway.png")
@@ -936,7 +936,7 @@
         """
         Private method to handle a CTCP channel command.
         
-        @param reference to the match object
+        @param match reference to the match object
         @return flag indicating, if the message was handled (boolean)
         """
         # group(1)   sender user name
@@ -1005,7 +1005,7 @@
         Private method to extract the user privileges out of the name.
         
         @param name user name and prefixes (string)
-        return list of privileges and user name (list of string, string)
+        @return list of privileges and user name (list of string, string)
         """
         privileges = []
         while name[0] in self.__prefixToPrivilege:
@@ -1023,7 +1023,6 @@
         
         @param indicator indicator to be shown (string)
         @param message message to be shown (string)
-        @keyparam isLocal flag indicating a message related to the local user (boolean)
         """
         if indicator == self.JoinIndicator:
             color = Preferences.getIrc("JoinChannelColour")
@@ -1038,6 +1037,8 @@
     def __appendMessage(self, message):
         """
         Private slot to append a message.
+        
+        @param message message to be appended (string)
         """
         if self.__hidden and \
            self.__markerLine == "" and \
@@ -1688,5 +1689,7 @@
     def on_messages_anchorClicked(self, url):
         """
         Private slot to open links in the default browser.
+        
+        @param url URL to be opened (QUrl)
         """
         QDesktopServices.openUrl(url)

eric ide

mercurial