48 |
48 |
49 def logMessage(self): |
49 def logMessage(self): |
50 """ |
50 """ |
51 Public method to retrieve the log message. |
51 Public method to retrieve the log message. |
52 |
52 |
53 @return the log message (QString) |
53 @return the log message (string) |
54 """ |
54 """ |
55 msg = self.logEdit.toPlainText() |
55 msg = self.logEdit.toPlainText() |
56 if msg: |
56 if msg: |
57 if msg in self.recentCommitMessages: |
57 if msg in self.recentCommitMessages: |
58 self.recentCommitMessages.remove(msg) |
58 self.recentCommitMessages.remove(msg) |
77 |
77 |
78 def changelistsData(self): |
78 def changelistsData(self): |
79 """ |
79 """ |
80 Public method to retrieve the changelists data. |
80 Public method to retrieve the changelists data. |
81 |
81 |
82 @return tuple containing the changelists (QStringList) and a flag |
82 @return tuple containing the changelists (list of strings) and a flag |
83 indicating to keep changelists (boolean) |
83 indicating to keep changelists (boolean) |
84 """ |
84 """ |
85 listsTxt = self.changeListsEdit.text() |
85 listsTxt = self.changeListsEdit.text() |
86 lists = listsTxt.split(';') |
86 lists = listsTxt.split(';') |
87 slists = [l.strip() for l in lists if l.strip() != ""] |
87 slists = [l.strip() for l in lists if l.strip() != ""] |