]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/urlbutton.h
Dolphin is now a KUniqueApplication. A lot of thanks go to Oscar Blumberg, who submit...
[dolphin.git] / src / urlbutton.h
index a52fdf463fdaa5cd1ff3a0c91d7b0547c3d91659..a922ea0cd365a09abe50ff38e57a4ea6dda069a9 100644 (file)
@@ -15,7 +15,7 @@
  *   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
@@ -33,18 +33,16 @@ class QPainter;
  *
  * 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 {