Mercurial > hg > Feedworm
comparison FeedSettings.py @ 245:8e73a8ae863f
Fix the docstrings
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 09 Jun 2015 02:30:55 +0200 |
parents | 699d8f1cebd4 |
children | 3ce39af93e77 |
comparison
equal
deleted
inserted
replaced
244:b46d7fe6390b | 245:8e73a8ae863f |
---|---|
1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
2 from PyQt4.QtGui import QDialog | 2 from PyQt4.QtGui import QDialog |
3 from Ui_FeedSettings import Ui_FeedSettings | 3 from Ui_FeedSettings import Ui_FeedSettings |
4 | 4 |
5 """ | |
6 Copy all feed properties into the GUI on initialization. Collect all changes | |
7 in a separate dict that's passed into the backend along with the feed to modify. | |
8 """ | |
5 class FeedSettings(QDialog): | 9 class FeedSettings(QDialog): |
6 """ | |
7 Copy all feed properties into the GUI on initialization. Collect all changes | |
8 in a separate dict that's passed into the backend along with the feed to modify. | |
9 """ | |
10 def __init__(self, backend): | 10 def __init__(self, backend): |
11 super(FeedSettings, self).__init__(None) | 11 super(FeedSettings, self).__init__(None) |
12 self.backend = backend | 12 self.backend = backend |
13 self.feed = backend.selectedFeed | 13 self.feed = backend.selectedFeed |
14 self.changes = {} | 14 self.changes = {} |