]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/infosidebarpage.h
Dolphin is now a KUniqueApplication. A lot of thanks go to Oscar Blumberg, who submit...
[dolphin.git] / src / infosidebarpage.h
index e7d527126e6de605ee8657bdc41d7aa6ea9099d3..ad1e71357e2dc4f8eddb66e44f14f0e5c589409c 100644 (file)
@@ -14,7 +14,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 _INFOSIDEBARPAGE_H_
@@ -37,7 +37,7 @@
 
 namespace KIO {
     class Job;
-};
+}
 
 class QPixmap;
 class QIcon;
@@ -59,7 +59,7 @@ class InfoSidebarPage : public SidebarPage
        Q_OBJECT
 
 public:
-    InfoSidebarPage(DolphinMainWindow* mainWindow, QWidget* parent=0);
+    explicit InfoSidebarPage(DolphinMainWindow* mainWindow, QWidget* parent=0);
     virtual ~InfoSidebarPage();
 
 protected:
@@ -185,7 +185,7 @@ signals:
     void requestServiceStart(int index);
 
 protected:
-    virtual void drawButton(QPainter* painter);
+    virtual void paintEvent(QPaintEvent* event);
     virtual void enterEvent(QEvent* event);
     virtual void leaveEvent(QEvent* event);