Commit 94345f93 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed several warnings

parent 8e61266e
...@@ -73,7 +73,7 @@ class DLLEXPORT UpdateType { ...@@ -73,7 +73,7 @@ class DLLEXPORT UpdateType {
UpdateType(const UpdateType& _type); UpdateType(const UpdateType& _type);
explicit UpdateType(UpdateTypeSet _set); UpdateType(UpdateTypeSet _set);
/// Exact compare operator /// Exact compare operator
bool operator==(const UpdateType& _type) const; bool operator==(const UpdateType& _type) const;
......
...@@ -85,7 +85,7 @@ class DLLEXPORT OpenFlipperThread : public QThread ...@@ -85,7 +85,7 @@ class DLLEXPORT OpenFlipperThread : public QThread
Q_OBJECT Q_OBJECT
public: public:
OpenFlipperThread( QString _jobId ); explicit OpenFlipperThread( QString _jobId );
~OpenFlipperThread(); ~OpenFlipperThread();
//=========================================================================== //===========================================================================
...@@ -251,7 +251,7 @@ class DLLEXPORT OpenFlipperJob : public QObject ...@@ -251,7 +251,7 @@ class DLLEXPORT OpenFlipperJob : public QObject
Q_OBJECT Q_OBJECT
public: public:
OpenFlipperJob(const QString _jobId) : jobId_(_jobId) {} explicit OpenFlipperJob(const QString _jobId) : jobId_(_jobId) {}
~OpenFlipperJob(); ~OpenFlipperJob();
signals: signals:
......
...@@ -62,7 +62,7 @@ class AboutWidget : public QMainWindow, public Ui::AboutWidget ...@@ -62,7 +62,7 @@ class AboutWidget : public QMainWindow, public Ui::AboutWidget
Q_OBJECT Q_OBJECT
public: public:
AboutWidget(QWidget *parent = 0); explicit AboutWidget(QWidget *parent = 0);
void keyPressEvent(QKeyEvent * event); void keyPressEvent(QKeyEvent * event);
}; };
......
...@@ -58,7 +58,7 @@ class ColorStatusBar : public QStatusBar ...@@ -58,7 +58,7 @@ class ColorStatusBar : public QStatusBar
Q_OBJECT Q_OBJECT
public: public:
ColorStatusBar(QWidget* parent = 0 ); explicit ColorStatusBar(QWidget* parent = 0 );
public slots: public slots:
void showMessage ( const QString& message, int timeout = 0 ); void showMessage ( const QString& message, int timeout = 0 );
......
...@@ -83,7 +83,7 @@ class SideArea : public QWidget { ...@@ -83,7 +83,7 @@ class SideArea : public QWidget {
/** Create a SideElement /** Create a SideElement
\param _parent Parent widget \param _parent Parent widget
*/ */
SideArea (QWidget *_parent = 0); explicit SideArea (QWidget *_parent = 0);
/** Adds a plugin tool widget /** Adds a plugin tool widget
\param _plugin plugin corresponding to the widget \param _plugin plugin corresponding to the widget
......
...@@ -127,7 +127,7 @@ class SideElement : public QWidget ...@@ -127,7 +127,7 @@ class SideElement : public QWidget
class TopArea : public QWidget class TopArea : public QWidget
{ {
public: public:
TopArea (SideElement *_e); explicit TopArea (SideElement *_e);
virtual void mousePressEvent (QMouseEvent *_event); virtual void mousePressEvent (QMouseEvent *_event);
private: private:
......
...@@ -77,7 +77,7 @@ class DLLEXPORT CursorPainter : public QObject ...@@ -77,7 +77,7 @@ class DLLEXPORT CursorPainter : public QObject
public: public:
/// Constructor /// Constructor
CursorPainter (QObject *_parent = 0); explicit CursorPainter (QObject *_parent = 0);
/// Destructor /// Destructor
~CursorPainter (); ~CursorPainter ();
......
...@@ -75,7 +75,7 @@ class DLLEXPORT QtGLGraphicsView : public QGraphicsView ...@@ -75,7 +75,7 @@ class DLLEXPORT QtGLGraphicsView : public QGraphicsView
Q_OBJECT Q_OBJECT
public: public:
QtGLGraphicsView(QWidget* _parent); explicit QtGLGraphicsView(QWidget* _parent);
signals: signals:
void sceneRectChanged(const QRectF &rect); void sceneRectChanged(const QRectF &rect);
......
...@@ -73,7 +73,7 @@ class QtGLViewerLayout : public QGraphicsLayout ...@@ -73,7 +73,7 @@ class QtGLViewerLayout : public QGraphicsLayout
{ {
public: public:
QtGLViewerLayout (QGraphicsLayoutItem * _parent = 0); explicit QtGLViewerLayout (QGraphicsLayoutItem * _parent = 0);
/// Add Wheel Widget to Layout /// Add Wheel Widget to Layout
void addWheelX (QGraphicsWidget *_item); void addWheelX (QGraphicsWidget *_item);
......
...@@ -119,7 +119,7 @@ class DLLEXPORT QtMultiViewLayout : public QGraphicsLayout ...@@ -119,7 +119,7 @@ class DLLEXPORT QtMultiViewLayout : public QGraphicsLayout
HSplit HSplit
}; };
QtMultiViewLayout (QGraphicsLayoutItem * _parent = 0); explicit QtMultiViewLayout (QGraphicsLayoutItem * _parent = 0);
/// Adds Widget to Layout /// Adds Widget to Layout
void addItem (QGraphicsWidget *_item, unsigned int _pos); void addItem (QGraphicsWidget *_item, unsigned int _pos);
......
...@@ -73,7 +73,7 @@ class LoggerWidget : public QWidget ...@@ -73,7 +73,7 @@ class LoggerWidget : public QWidget
Q_OBJECT Q_OBJECT
public: public:
LoggerWidget( QWidget *parent = 0 ); explicit LoggerWidget( QWidget *parent = 0 );
~LoggerWidget(); ~LoggerWidget();
......
...@@ -83,7 +83,7 @@ class ShortcutButton : public QPushButton ...@@ -83,7 +83,7 @@ class ShortcutButton : public QPushButton
void mousePressEvent(QMouseEvent* event); void mousePressEvent(QMouseEvent* event);
void mouseReleaseEvent(QMouseEvent* event); void mouseReleaseEvent(QMouseEvent* event);
public: public:
ShortcutButton(QWidget* _parent = 0); explicit ShortcutButton(QWidget* _parent = 0);
void setCurrentShortcut(int _key, Qt::KeyboardModifiers _modifiers); void setCurrentShortcut(int _key, Qt::KeyboardModifiers _modifiers);
......
...@@ -67,7 +67,7 @@ class PostProcessorDialog : public QDialog, public Ui::PostProcessorWidget ...@@ -67,7 +67,7 @@ class PostProcessorDialog : public QDialog, public Ui::PostProcessorWidget
void updateExaminer(unsigned _viewer); void updateExaminer(unsigned _viewer);
public: public:
PostProcessorDialog(QWidget *_parent = 0); explicit PostProcessorDialog(QWidget *_parent = 0);
/// return the names of all saved post processors /// return the names of all saved post processors
static QStringList getSavedPostProcessorNames(const unsigned _examiner); static QStringList getSavedPostProcessorNames(const unsigned _examiner);
......
...@@ -97,7 +97,7 @@ class ProcessManagerWidget : public QWidget, public Ui::ProcessManagerWidget ...@@ -97,7 +97,7 @@ class ProcessManagerWidget : public QWidget, public Ui::ProcessManagerWidget
public: public:
ProcessManagerWidget(QWidget* parent = 0) : QWidget(parent) { explicit ProcessManagerWidget(QWidget* parent = 0) : QWidget(parent) {
setupUi(this); setupUi(this);
}; };
......
...@@ -97,7 +97,7 @@ class TextBrowserWidget : public QPlainTextEdit ...@@ -97,7 +97,7 @@ class TextBrowserWidget : public QPlainTextEdit
public: public:
TextBrowserWidget(QWidget *parent = 0); explicit TextBrowserWidget(QWidget *parent = 0);
void sideAreaPaintEvent(QPaintEvent *event); void sideAreaPaintEvent(QPaintEvent *event);
int sideAreaWidth(); int sideAreaWidth();
...@@ -147,7 +147,7 @@ class TextBrowserWidget : public QPlainTextEdit ...@@ -147,7 +147,7 @@ class TextBrowserWidget : public QPlainTextEdit
class TextBrowserSideArea : public QWidget class TextBrowserSideArea : public QWidget
{ {
public: public:
TextBrowserSideArea(TextBrowserWidget* _textBrowser) : explicit TextBrowserSideArea(TextBrowserWidget* _textBrowser) :
QWidget(_textBrowser), QWidget(_textBrowser),
textBrowser_(_textBrowser) textBrowser_(_textBrowser)
{} {}
......
...@@ -61,8 +61,8 @@ class RenderObjectHighlighter : public QSyntaxHighlighter ...@@ -61,8 +61,8 @@ class RenderObjectHighlighter : public QSyntaxHighlighter
Q_OBJECT Q_OBJECT
public: public:
RenderObjectHighlighter( QTextDocument* parent = 0); explicit RenderObjectHighlighter( QTextDocument* parent = 0);
RenderObjectHighlighter( QTextEdit* parent); explicit RenderObjectHighlighter( QTextEdit* parent);
/// Updates the highlighter with the current rule set defined in the patterns /// Updates the highlighter with the current rule set defined in the patterns
void update(); void update();
......
...@@ -59,7 +59,7 @@ class RendererObjectWidget : public QDialog, public Ui::RendererObjectWidget ...@@ -59,7 +59,7 @@ class RendererObjectWidget : public QDialog, public Ui::RendererObjectWidget
Q_OBJECT Q_OBJECT
public: public:
RendererObjectWidget(QWidget *parent = 0); explicit RendererObjectWidget(QWidget *parent = 0);
protected: protected:
......
...@@ -60,7 +60,7 @@ class RendererDialog : public QDialog, public Ui::RendererWidget ...@@ -60,7 +60,7 @@ class RendererDialog : public QDialog, public Ui::RendererWidget
Q_OBJECT Q_OBJECT
public: public:
RendererDialog(QWidget *parent = 0); explicit RendererDialog(QWidget *parent = 0);
......
...@@ -69,5 +69,5 @@ class StereoSettingsWidget : public QWidget, public Ui::StereoSettingsWidget ...@@ -69,5 +69,5 @@ class StereoSettingsWidget : public QWidget, public Ui::StereoSettingsWidget
Q_OBJECT Q_OBJECT
public: public:
StereoSettingsWidget(QWidget *parent = 0); explicit StereoSettingsWidget(QWidget *parent = 0);
}; };
...@@ -60,7 +60,7 @@ class VideoCaptureDialog : public QDialog, public Ui::VideoCaptureDialog ...@@ -60,7 +60,7 @@ class VideoCaptureDialog : public QDialog, public Ui::VideoCaptureDialog
Q_OBJECT Q_OBJECT
public: public:
VideoCaptureDialog(QWidget *parent = 0); explicit VideoCaptureDialog(QWidget *parent = 0);
private slots: private slots:
void slotStartVideoCapture(); void slotStartVideoCapture();
......
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