mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-24 23:31:32 +08:00
Fixed gcc compiler warning caused by supefluous extra semi-colon by all QT_FORWARD_DECLARE_CLASS statements
This commit is contained in:
parent
427b5a0be0
commit
7c03b1b936
@ -34,7 +34,7 @@
|
||||
|
||||
#include "ads_globals.h"
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QAbstractButton);
|
||||
QT_FORWARD_DECLARE_CLASS(QAbstractButton)
|
||||
|
||||
namespace ads
|
||||
{
|
||||
|
@ -35,8 +35,8 @@
|
||||
#include "ads_globals.h"
|
||||
#include "DockWidget.h"
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter);
|
||||
QT_FORWARD_DECLARE_CLASS(QAbstractButton);
|
||||
QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter)
|
||||
QT_FORWARD_DECLARE_CLASS(QAbstractButton)
|
||||
|
||||
namespace ads
|
||||
{
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "ads_globals.h"
|
||||
#include "DockWidget.h"
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter);
|
||||
QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter)
|
||||
|
||||
|
||||
namespace ads
|
||||
|
@ -36,8 +36,8 @@
|
||||
#include "FloatingDockContainer.h"
|
||||
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QSettings);
|
||||
QT_FORWARD_DECLARE_CLASS(QMenu);
|
||||
QT_FORWARD_DECLARE_CLASS(QSettings)
|
||||
QT_FORWARD_DECLARE_CLASS(QMenu)
|
||||
|
||||
namespace ads
|
||||
{
|
||||
|
@ -26,10 +26,11 @@
|
||||
#include <QHash>
|
||||
#include <QRect>
|
||||
#include <QFrame>
|
||||
QT_FORWARD_DECLARE_CLASS(QGridLayout);
|
||||
|
||||
#include "ads_globals.h"
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QGridLayout)
|
||||
|
||||
namespace ads
|
||||
{
|
||||
struct DockOverlayPrivate;
|
||||
|
@ -34,8 +34,8 @@
|
||||
|
||||
#include "ads_globals.h"
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QToolBar);
|
||||
QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter);
|
||||
QT_FORWARD_DECLARE_CLASS(QToolBar)
|
||||
QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter)
|
||||
|
||||
namespace ads
|
||||
{
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include <QDebug>
|
||||
#include <QStyle>
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QAbstractButton);
|
||||
QT_FORWARD_DECLARE_CLASS(QAbstractButton)
|
||||
|
||||
#ifndef ADS_STATIC
|
||||
#ifdef ADS_SHARED_EXPORT
|
||||
@ -60,7 +60,7 @@ QT_FORWARD_DECLARE_CLASS(QAbstractButton);
|
||||
// dumps to qDebug and std::cout after layout changes
|
||||
#define ADS_DEBUG_LEVEL 0
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QSplitter);
|
||||
QT_FORWARD_DECLARE_CLASS(QSplitter)
|
||||
|
||||
namespace ads
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user