X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/b1d5b6b7467d15417131c8df8fdecb22b2008db4..abf17941f7:/src/infosidebarpage.h diff --git a/src/infosidebarpage.h b/src/infosidebarpage.h index e7d527126..ad1e71357 100644 --- a/src/infosidebarpage.h +++ b/src/infosidebarpage.h @@ -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);