Fixed gcc compiler warning caused by supefluous extra semi-colon by all QT_FORWARD_DECLARE_CLASS statements

This commit is contained in:
Uwe Kindler 2020-05-14 07:27:48 +02:00
parent 427b5a0be0
commit 7c03b1b936
7 changed files with 12 additions and 11 deletions

View File

@ -34,7 +34,7 @@
#include "ads_globals.h" #include "ads_globals.h"
QT_FORWARD_DECLARE_CLASS(QAbstractButton); QT_FORWARD_DECLARE_CLASS(QAbstractButton)
namespace ads namespace ads
{ {

View File

@ -35,8 +35,8 @@
#include "ads_globals.h" #include "ads_globals.h"
#include "DockWidget.h" #include "DockWidget.h"
QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter); QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter)
QT_FORWARD_DECLARE_CLASS(QAbstractButton); QT_FORWARD_DECLARE_CLASS(QAbstractButton)
namespace ads namespace ads
{ {

View File

@ -35,7 +35,7 @@
#include "ads_globals.h" #include "ads_globals.h"
#include "DockWidget.h" #include "DockWidget.h"
QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter); QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter)
namespace ads namespace ads

View File

@ -36,8 +36,8 @@
#include "FloatingDockContainer.h" #include "FloatingDockContainer.h"
QT_FORWARD_DECLARE_CLASS(QSettings); QT_FORWARD_DECLARE_CLASS(QSettings)
QT_FORWARD_DECLARE_CLASS(QMenu); QT_FORWARD_DECLARE_CLASS(QMenu)
namespace ads namespace ads
{ {

View File

@ -26,10 +26,11 @@
#include <QHash> #include <QHash>
#include <QRect> #include <QRect>
#include <QFrame> #include <QFrame>
QT_FORWARD_DECLARE_CLASS(QGridLayout);
#include "ads_globals.h" #include "ads_globals.h"
QT_FORWARD_DECLARE_CLASS(QGridLayout)
namespace ads namespace ads
{ {
struct DockOverlayPrivate; struct DockOverlayPrivate;

View File

@ -34,8 +34,8 @@
#include "ads_globals.h" #include "ads_globals.h"
QT_FORWARD_DECLARE_CLASS(QToolBar); QT_FORWARD_DECLARE_CLASS(QToolBar)
QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter); QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter)
namespace ads namespace ads
{ {

View File

@ -37,7 +37,7 @@
#include <QDebug> #include <QDebug>
#include <QStyle> #include <QStyle>
QT_FORWARD_DECLARE_CLASS(QAbstractButton); QT_FORWARD_DECLARE_CLASS(QAbstractButton)
#ifndef ADS_STATIC #ifndef ADS_STATIC
#ifdef ADS_SHARED_EXPORT #ifdef ADS_SHARED_EXPORT
@ -60,7 +60,7 @@ QT_FORWARD_DECLARE_CLASS(QAbstractButton);
// dumps to qDebug and std::cout after layout changes // dumps to qDebug and std::cout after layout changes
#define ADS_DEBUG_LEVEL 0 #define ADS_DEBUG_LEVEL 0
QT_FORWARD_DECLARE_CLASS(QSplitter); QT_FORWARD_DECLARE_CLASS(QSplitter)
namespace ads namespace ads
{ {