X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/7fec7ff9a096d288b66fce2699c7b8bc71f6fbbb..abf17941f7:/src/urlbutton.h diff --git a/src/urlbutton.h b/src/urlbutton.h index 41d81c24b..a922ea0cd 100644 --- a/src/urlbutton.h +++ b/src/urlbutton.h @@ -15,37 +15,34 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * ***************************************************************************/ -#ifndef UrlBUTTON_H -#define UrlBUTTON_H +#ifndef URLBUTTON_H +#define URLBUTTON_H -#include -//Added by qt3to4: #include +#include class KUrl; class UrlNavigator; class QPainter; /** - * @brief Base class for buttons of the Url navigator. + * @brief Base class for buttons of the URL navigator. * - * Each button of the Url navigator contains an Url, which + * Each button of the URL navigator contains an URL, which * is set as soon as the button has been clicked. -* - * @author Peter Penz */ class UrlButton : public QPushButton { Q_OBJECT public: - UrlButton(UrlNavigator* parent); + explicit UrlButton(UrlNavigator* parent); virtual ~UrlButton(); - UrlNavigator* urlNavigator() const; + UrlNavigator* urlNavigator() const { return m_urlNavigator; } protected: enum DisplayHint {