309 Public method to get the first path of a list of entered paths. |
309 Public method to get the first path of a list of entered paths. |
310 |
310 |
311 @return first path |
311 @return first path |
312 @rtype str |
312 @rtype str |
313 """ |
313 """ |
314 self.paths()[0] |
314 return self.paths()[0] |
315 |
315 |
316 def lastPath(self): |
316 def lastPath(self): |
317 """ |
317 """ |
318 Public method to get the last path of a list of entered paths. |
318 Public method to get the last path of a list of entered paths. |
319 |
319 |
320 @return first path |
320 @return last path |
321 @rtype str |
321 @rtype str |
322 """ |
322 """ |
323 self.paths()[-1] |
323 return self.paths()[-1] |
324 |
324 |
325 def setEditorEnabled(self, enable): |
325 def setEditorEnabled(self, enable): |
326 """ |
326 """ |
327 Public method to set the path editor's enabled state. |
327 Public method to set the path editor's enabled state. |
328 |
328 |