135 @return URL for custom subscriptions (QUrl) |
135 @return URL for custom subscriptions (QUrl) |
136 """ |
136 """ |
137 location = self.__customSubscriptionLocation() |
137 location = self.__customSubscriptionLocation() |
138 encodedUrl = bytes(location.toEncoded()).decode() |
138 encodedUrl = bytes(location.toEncoded()).decode() |
139 url = QUrl("abp:subscribe?location={0}&title={1}".format( |
139 url = QUrl("abp:subscribe?location={0}&title={1}".format( |
140 encodedUrl, self.trUtf8("Custom Rules"))) |
140 encodedUrl, self.tr("Custom Rules"))) |
141 return url |
141 return url |
142 |
142 |
143 def customRules(self): |
143 def customRules(self): |
144 """ |
144 """ |
145 Public method to get a subscription for custom rules. |
145 Public method to get a subscription for custom rules. |