Commit 9c8fa719 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor EBN issues

parent f6136ef5
......@@ -43,7 +43,7 @@ class AdjustSizeButton : public QFrame
QFrame *m_thingy;
public:
AdjustSizeButton( QWidget *parent );
explicit AdjustSizeButton( QWidget *parent );
private:
virtual void timerEvent( QTimerEvent* ) Q_DECL_OVERRIDE;
......
/*
Copyright 2003 by Max Howell
Copyright 2009 by Martin Sandsmark
LOL GPL
*/
/***********************************************************************
* Copyright 2003 Max Howell <max.howell@methylblue.com>
* 2009 Martin Sandsmark <sandsmark@samfundet.no>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License or (at your option) version 3 or any later version
* accepted by the membership of KDE e.V. (or its successor approved
* by the membership of KDE e.V.), which shall act as a proxy
* defined in Section 14 of version 3 of the license.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
***********************************************************************/
#include "analyzerBase.h"
#include <cmath> //interpolate()
......
// Author: Max Howell <max.howell@methylblue.com>, (C) 2004
// Maintainer: Martin Sandsmark <sandsmark@samfundet.no>, (C) 2009
// Copyright: See the COPYING file shipped with this distribution
/***********************************************************************
* Copyright 2004 Max Howell <max.howell@methylblue.com>
* 2009 Martin Sandsmark <sandsmark@samfundet.no>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License or (at your option) version 3 or any later version
* accepted by the membership of KDE e.V. (or its successor approved
* by the membership of KDE e.V.), which shall act as a proxy
* defined in Section 14 of version 3 of the license.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
***********************************************************************/
#ifndef ANALYZERBASE_H
#define ANALYZERBASE_H
......
......@@ -9,7 +9,7 @@
* *
* This program is distributed in the hope that it will be useful, but WITHOUT ANY *
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A *
* PARTICULAR PURPOSE. See the GNU General Pulic License for more details. *
* PARTICULAR PURPOSE. See the GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License along with *
* this program. If not, see <http://www.gnu.org/licenses/>. *
......
......@@ -8,7 +8,7 @@
* *
* This program is distributed in the hope that it will be useful, but WITHOUT ANY *
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A *
* PARTICULAR PURPOSE. See the GNU General Pulic License for more details. *
* PARTICULAR PURPOSE. See the GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License along with *
* this program. If not, see <http://www.gnu.org/licenses/>. *
......@@ -37,7 +37,7 @@ class QPalette;
class BlockAnalyzer : public Analyzer::Base2D
{
public:
BlockAnalyzer( QWidget* );
explicit BlockAnalyzer( QWidget* );
~BlockAnalyzer();
// Signed ints because most of what we compare them against are ints
......
......@@ -55,7 +55,7 @@ class FHT
* should be at least 3. Values of more than 3 need a trigonometry table.
* @see makeCasTable()
*/
FHT(int);
explicit FHT(int);
~FHT();
inline int sizeExp() const { return m_exp2; }
......
......@@ -34,7 +34,7 @@ class FullScreenToolBarHandler : QObject
{
Q_OBJECT
public:
FullScreenToolBarHandler(KMainWindow *parent );
explicit FullScreenToolBarHandler(KMainWindow *parent );
bool eventFilter( QObject *o, QEvent *e ) Q_DECL_OVERRIDE;
void timerEvent( QTimerEvent* ) Q_DECL_OVERRIDE;
private:
......
......@@ -845,7 +845,7 @@ MainWindow::inhibitPowerSave()
void
MainWindow::releasePowerSave()
{
//stop supressing sleep
//stop suppressing sleep
if (m_stopSleepCookie != -1) {
::close(m_stopSleepCookie);
m_stopSleepCookie = -1;
......
......@@ -31,7 +31,7 @@ class MouseOverToolBar : public KToolBar
virtual bool eventFilter( QObject*, QEvent* ) Q_DECL_OVERRIDE;
public:
MouseOverToolBar( QWidget *parent );
explicit MouseOverToolBar( QWidget *parent );
};
#endif
......@@ -32,8 +32,8 @@
#include <QApplication>
#include <QFile>
#include <QDebug>
#include <QtWidgets/qgraphicsitem.h>
#include <QtGui/qevent.h>
#include <QGraphicsItem>
#include <QEvent>
PlaylistFile::PlaylistFile(const QUrl &url )
: m_url( url )
......
......@@ -29,7 +29,7 @@
class PlaylistFile
{
public:
PlaylistFile( const QUrl &url );
explicit PlaylistFile( const QUrl &url );
~PlaylistFile();
enum FileFormat { M3U, PLS, Unknown, NotPlaylistFile = Unknown };
......
......@@ -84,7 +84,7 @@ private:
, const char* actionSlot );
public:
VideoWindow( QWidget *parent );
explicit VideoWindow( QWidget *parent );
~VideoWindow();
bool init();
......
......@@ -17,10 +17,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
***********************************************************************/
#ifndef DRAGONPLAYER_H
#define DRAGONPLAYER_H
#ifndef CODEINE_H
#define CODEINE_H
#include "config.h"
#include <config.h>
// try to keep this file light. It gets included by
// practically every implementation and many headers
......
......@@ -18,8 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
***********************************************************************/
#ifndef DRAGONPLAYER_MEDIAPLAYRER2_H
#define DRAGONPLAYER_MEDIAPLAYRER2_H
#ifndef DRAGONPLAYER_MEDIAPLAYER2_H
#define DRAGONPLAYER_MEDIAPLAYER2_H
#include <QDBusAbstractAdaptor>
#include <QStringList> // Needed for automoc'ed cpp to compile
......
......@@ -18,8 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
***********************************************************************/
#ifndef DRAGONPLAYER_MEDIAPLAYRER2PLAYER_H
#define DRAGONPLAYER_MEDIAPLAYRER2PLAYER_H
#ifndef DRAGONPLAYER_MEDIAPLAYER2PLAYER_H
#define DRAGONPLAYER_MEDIAPLAYER2PLAYER_H
#include <QDBusAbstractAdaptor>
#include <QDBusObjectPath>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment