From 59a19db9a21364b0bf9a286d390c9a2ef41537e3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 29 Jan 2014 04:24:37 +0100 Subject: [PATCH] Add __init__.py --- qutebrowser/utils/__init__.py | 3 +++ qutebrowser/widgets/__init__.py | 1 + qutebrowser/widgets/statusbar/__init__.py | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 qutebrowser/widgets/__init__.py diff --git a/qutebrowser/utils/__init__.py b/qutebrowser/utils/__init__.py index bf9b36a13..eff65a055 100644 --- a/qutebrowser/utils/__init__.py +++ b/qutebrowser/utils/__init__.py @@ -1,7 +1,10 @@ +"""Utility functions""" + from PyQt5.QtCore import QUrl def qurl(url): + """Get a QUrl from an url string.""" if isinstance(url, QUrl): return url if not url.startswith('http://'): diff --git a/qutebrowser/widgets/__init__.py b/qutebrowser/widgets/__init__.py new file mode 100644 index 000000000..b74d35717 --- /dev/null +++ b/qutebrowser/widgets/__init__.py @@ -0,0 +1 @@ +"""The Qt widgets needed by qutebrowser.""" diff --git a/qutebrowser/widgets/statusbar/__init__.py b/qutebrowser/widgets/statusbar/__init__.py index 8ecaf7ef2..a661a7b90 100644 --- a/qutebrowser/widgets/statusbar/__init__.py +++ b/qutebrowser/widgets/statusbar/__init__.py @@ -1,3 +1,5 @@ +"""Several widgets in the statusbar.""" + from PyQt5.QtCore import pyqtSignal from PyQt5.QtWidgets import QHBoxLayout, QWidget