Overall design: AdBlockManager (QObject) - One per browser with a property saying if adblock is enabled. - Owns all of the subscriptions AdBlockSubscription (QObject) - Constructed from an abp: url - Owns all of the rules for this subscription - Downloads rules when needed. AdBlockRule - Has a bool networkMatch(const QString &) function. - Various properties such as if enabled, is a css rule etc. AdBlockNetwork (applies network rules) - QNetworkAccessManager uses this to see if a connection should be blocked. AdBlockPage (applies css rules) - WebPage uses this to hide elements. AdBlockModel/AdBlockDialog - Sits on top of AdBlockManager and presents a dialog to the user so they can add rules, subscriptions etc. AdBlockScheme - Handle the abp url scheme to subscribe to a new adblock subscriptions. Misc: - Added right click action to block
prevent clutter and make it easier to find. Example: The autotest and manualtests for utils/foo can exists in autotests/utils/foo/
and not seperate commands.
users to set this value through QSettings.
application for the TreeSortFilterProxyModel class.
…hat be first, then the build directory and finally the installed translations
…, but have the application do that if it wants it
…ind files and automatically translate them into url's.
…able in this context.
QString which is also the localeDirectory as it implies it is more important and or different. - With addLocaleDirectory as a public API add a public localeDirectories() function which returns the current list. - m_loaded is a flag saying that loadAvailableLanguages has been called, not that a language has been found. Revert behavior back to match the rest of m_loaded flags in the repository. - Add .qm/locale to the default list to unbreak the autotests
can specify the location of the installed translation files, a directory in the home directory and even the current directory for development so developers don't have to install the application to test translations.
In Qt 4.6 the function QIcon::fromTheme() was added that lets Qt application get icons from the Freedesktop.org icon naming spec. http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
- Remove all of Qt development type entries From discussion on http://arorabrowser.blogspot.com/2009/08/arora-090.html and also the Kubuntu guys strip the bookmarks in their release it make sense.
…InspectorAction to be consistent with the rest of the code