Remove libdui_global.h
Change-Id: I098e9cce5a1154570fcbca8af260325f3193514c
This commit is contained in:
parent
b9e670b86c
commit
ea4f72786e
Notes:
Deepin Code Review
2017-07-26 13:08:52 +08:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: Iceyer <me@iceyer.net> Submitted-by: Iceyer <me@iceyer.net> Submitted-at: Thu, 28 Apr 2016 14:27:33 +0800 Reviewed-on: https://cr.deepin.io/12309 Project: dtkwidget Branch: refs/heads/master
|
|
@ -12,9 +12,9 @@ unix{
|
|||
QT += x11extras dbus
|
||||
}
|
||||
|
||||
HEADERS += libdui_global.h
|
||||
HEADERS += dwidget_global.h
|
||||
includes.path = $${DTK_INCLUDEPATH}/DWidget
|
||||
includes.files += libdui_global.h widgets/*.h
|
||||
includes.files += dwidget_global.h widgets/*.h
|
||||
includes.files += widgets/DTitlebar \
|
||||
widgets/DWindow \
|
||||
widgets/DMenu \
|
||||
|
|
|
|||
|
|
@ -1 +1,54 @@
|
|||
#include "libdui_global.h"
|
||||
/**
|
||||
* Copyright (C) 2015 Deepin Technology Co., Ltd.
|
||||
*
|
||||
* 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 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
**/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <dtk_global.h>
|
||||
|
||||
#include <QtCore/QMetaMethod>
|
||||
|
||||
#define DWIDGET_NAMESPACE Widget
|
||||
#define DTK_WIDGET_NAMESPACE DTK_NAMESPACE::Widget
|
||||
|
||||
|
||||
# define DWIDGET_BEGIN_NAMESPACE namespace DTK_NAMESPACE { namespace DWIDGET_NAMESPACE {
|
||||
# define DWIDGET_END_NAMESPACE }}
|
||||
# define DWIDGET_USE_NAMESPACE using namespace DTK_WIDGET_NAMESPACE;
|
||||
|
||||
|
||||
namespace Dtk
|
||||
{
|
||||
namespace Widget
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(LIBDTKWIDGET_LIBRARY)
|
||||
# define LIBDTKWIDGETSHARED_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
# define LIBDTKWIDGETSHARED_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
#define DTKWIDGET_DECL_DEPRECATED Q_DECL_DEPRECATED
|
||||
|
||||
#define D_THEME_INIT_WIDGET(className, ...) \
|
||||
DThemeManager * manager = DThemeManager::instance(); \
|
||||
this->setStyleSheet(this->styleSheet() + manager->getQssForWidget(#className)); \
|
||||
connect(manager, &DThemeManager::themeChanged, [=](QString) { \
|
||||
this->setStyleSheet(manager->getQssForWidget(#className)); \
|
||||
});\
|
||||
QStringList list = QString(#__VA_ARGS__).replace(" ", "").split(",");\
|
||||
const QMetaObject *self = metaObject();\
|
||||
foreach (const QString &str, list) {\
|
||||
if(str.isEmpty())\
|
||||
continue;\
|
||||
connect(this, self->property(self->indexOfProperty(str.toLatin1().data())).notifySignal(),\
|
||||
manager, manager->metaObject()->method(manager->metaObject()->indexOfMethod("updateQss()")));\
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,54 +0,0 @@
|
|||
/**
|
||||
* Copyright (C) 2015 Deepin Technology Co., Ltd.
|
||||
*
|
||||
* 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 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
**/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <dtk_global.h>
|
||||
|
||||
#include <QtCore/QMetaMethod>
|
||||
|
||||
#define DWIDGET_NAMESPACE Widget
|
||||
#define DTK_WIDGET_NAMESPACE DTK_NAMESPACE::Widget
|
||||
|
||||
|
||||
# define DWIDGET_BEGIN_NAMESPACE namespace DTK_NAMESPACE { namespace DWIDGET_NAMESPACE {
|
||||
# define DWIDGET_END_NAMESPACE }}
|
||||
# define DWIDGET_USE_NAMESPACE using namespace DTK_WIDGET_NAMESPACE;
|
||||
|
||||
|
||||
namespace Dtk
|
||||
{
|
||||
namespace Widget
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(LIBDTKWIDGET_LIBRARY)
|
||||
# define LIBDTKWIDGETSHARED_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
# define LIBDTKWIDGETSHARED_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
#define DTKWIDGET_DECL_DEPRECATED Q_DECL_DEPRECATED
|
||||
|
||||
#define D_THEME_INIT_WIDGET(className, ...) \
|
||||
DThemeManager * manager = DThemeManager::instance(); \
|
||||
this->setStyleSheet(this->styleSheet() + manager->getQssForWidget(#className)); \
|
||||
connect(manager, &DThemeManager::themeChanged, [=](QString) { \
|
||||
this->setStyleSheet(manager->getQssForWidget(#className)); \
|
||||
});\
|
||||
QStringList list = QString(#__VA_ARGS__).replace(" ", "").split(",");\
|
||||
const QMetaObject *self = metaObject();\
|
||||
foreach (const QString &str, list) {\
|
||||
if(str.isEmpty())\
|
||||
continue;\
|
||||
connect(this, self->property(self->indexOfProperty(str.toLatin1().data())).notifySignal(),\
|
||||
manager, manager->metaObject()->method(manager->metaObject()->indexOfMethod("updateQss()")));\
|
||||
}
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
#include <QWidget>
|
||||
#include <QDebug>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <QDialog>
|
||||
#include <QPoint>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dobject.h"
|
||||
|
||||
class QMouseEvent;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#define DACTION_H
|
||||
|
||||
#include <DObject>
|
||||
#include <libdui_global.h>
|
||||
#include <dwidget_global.h>
|
||||
|
||||
#include <QAction>
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QApplication>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dobject.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
#include <QState>
|
||||
#include <QDebug>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dconstants.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QWidget>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dbaseexpand.h"
|
||||
#include "darrowbutton.h"
|
||||
#include "dbaseline.h"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
#include <QTimer>
|
||||
#include <QDebug>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dthememanager.h"
|
||||
#include "dgraphicsgloweffect.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <QFrame>
|
||||
#include <QHBoxLayout>
|
||||
#include <QPushButton>
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
#include <QVBoxLayout>
|
||||
#include <QPropertyAnimation>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dseparatorhorizontal.h"
|
||||
#include "dconstants.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
#include <QLabel>
|
||||
#include <QHBoxLayout>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dconstants.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef DBOXWIDGET_H
|
||||
#define DBOXWIDGET_H
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
#include <dobject.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
#include <QPushButton>
|
||||
#include <QResizeEvent>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dconstants.h"
|
||||
#include "dimagebutton.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QListWidget>
|
||||
#include <QPushButton>
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
class QButtonGroup;
|
||||
class QLabel;
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
#include <QSize>
|
||||
#include <QPropertyAnimation>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dlinkbutton.h"
|
||||
#include "dimagebutton.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QCheckBox>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef DCIRCLEPROGRESS_H
|
||||
#define DCIRCLEPROGRESS_H
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dthememanager.h"
|
||||
#include "dobject.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
#include <QModelIndex>
|
||||
#include <QColor>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dcomboboxmodel.h"
|
||||
#include "dcombobox.h"
|
||||
#include "dabstractcomboboxdelegate.h"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <QFrame>
|
||||
#include <QGridLayout>
|
||||
#include <QColor>
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
#include <QAbstractItemView>
|
||||
#include <QPointer>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dobject.h"
|
||||
#include "dconstants.h"
|
||||
#include "dcomboboxmodel.h"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
#include <QJsonArray>
|
||||
#include <QDebug>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
#ifndef DCONSTANTS_H
|
||||
#define DCONSTANTS_H
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
//basis width and height
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QWidget>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
#include <QList>
|
||||
#include <QMap>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dbaseexpand.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef DFLOWLAYOUT_H
|
||||
#define DFLOWLAYOUT_H
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
#include <dobject.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
#include <QCursor>
|
||||
#include <QColor>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dcombobox.h"
|
||||
#include "dcomboboxmodel.h"
|
||||
#include "dabstractcomboboxdelegate.h"
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
#include <QGraphicsEffect>
|
||||
#include <QPainter>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <QWidget>
|
||||
#include <QLabel>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dbaseline.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef BUTTON_CONSTANTS_H
|
||||
#define BUTTON_CONSTANTS_H
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
#include <QLabel>
|
||||
#include <QPixmap>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include <QLabel>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QLineEdit>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dobject.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QPushButton>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef DLISTVIEW_H
|
||||
#define DLISTVIEW_H
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
#include <dobject.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
#include <QBoxLayout>
|
||||
|
||||
#include "dscrollarea.h"
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
#include <QEasingCurve>
|
||||
#include <QDebug>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dobject.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <DObject>
|
||||
#include <DAction>
|
||||
#include <libdui_global.h>
|
||||
#include <dwidget_global.h>
|
||||
|
||||
#include <QObject>
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
**/
|
||||
|
||||
#include "doption.h"
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dthememanager.h"
|
||||
#include "private/doption_p.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef DOPTION_H
|
||||
#define DOPTION_H
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dobject.h"
|
||||
|
||||
#include <QFrame>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
|
||||
#include "doptionlist.h"
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dthememanager.h"
|
||||
#include "private/doptionlist_p.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef DOPTIONLIST_H
|
||||
#define DOPTIONLIST_H
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dobject.h"
|
||||
#include "doption.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef DPICTURESEQUENCEVIEW_H
|
||||
#define DPICTURESEQUENCEVIEW_H
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dobject.h"
|
||||
|
||||
#include <QGraphicsView>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QScrollArea>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dobject.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QScrollBar>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
#include <QLineEdit>
|
||||
#include <QPropertyAnimation>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dimagebutton.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
#include <QPropertyAnimation>
|
||||
#include <QList>
|
||||
#include <QEasingCurve>
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <QWidget>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <QWidget>
|
||||
#include <QHBoxLayout>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
#include <QColor>
|
||||
#include <QMap>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QWidget>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dcomboboxmodel.h"
|
||||
#include "dabstractcomboboxdelegate.h"
|
||||
#include "dcombobox.h"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QSlider>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QSpinBox>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dobject.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
#include <QVariantAnimation>
|
||||
|
||||
#include "dobject.h"
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
#include <QPixmap>
|
||||
#include <QVariantAnimation>
|
||||
#include <QUrl>
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QWidget>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dbaseexpand.h"
|
||||
#include "dswitchbutton.h"
|
||||
#include "dheaderline.h"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <QPushButton>
|
||||
#include <QPainter>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef DTEXTEDIT_H
|
||||
#define DTEXTEDIT_H
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
#include <dobject.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
#include <QString>
|
||||
#include <QGlobalStatic>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QWidget>
|
||||
#include <dobject.h>
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QWidget>
|
||||
#include <dobject.h>
|
||||
#include <libdui_global.h>
|
||||
#include <dwidget_global.h>
|
||||
|
||||
|
||||
#include <dx11widget.h>
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ DWindowPrivate::DWindowPrivate(DWindow *q): DWidgetPrivate(q)
|
|||
|
||||
}
|
||||
|
||||
DWindow::DWindow(DWidget *parent): DWidget(*(new DWindowPrivate(this)), parent)
|
||||
DWindow::DWindow(QWidget *parent): DWidget(*(new DWindowPrivate(this)), parent)
|
||||
{
|
||||
D_D(DWindow);
|
||||
d->dbusMenu = new DMenu;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QWidget>
|
||||
#include <dobject.h>
|
||||
#include <libdui_global.h>
|
||||
#include <dwidget_global.h>
|
||||
|
||||
#include "dwidget.h"
|
||||
#include <DMenu>
|
||||
|
|
@ -17,7 +17,7 @@ class LIBDTKWIDGETSHARED_EXPORT DWindow : public DWidget
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit DWindow(DWidget *parent = 0);
|
||||
explicit DWindow(QWidget *parent = 0);
|
||||
|
||||
DMenu *dbusMenu();
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QWidget>
|
||||
#include <dobject.h>
|
||||
#include <libdui_global.h>
|
||||
#include <dwidget_global.h>
|
||||
|
||||
DWIDGET_BEGIN_NAMESPACE
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#ifndef DSCROLLAREA_P_H
|
||||
#define DSCROLLAREA_P_H
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dscrollarea.h"
|
||||
|
||||
#include <private/dobject_p.h>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <QWidget>
|
||||
#include <QLabel>
|
||||
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dtextbutton.h"
|
||||
#include "dimagebutton.h"
|
||||
#include "dheaderline.h"
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
#include "dslider.h"
|
||||
#include "dthememanager.h"
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
#include "dswitchbutton.h"
|
||||
#include "segmentedcontrol.h"
|
||||
#include "dcolorpicker.h"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QFrame>
|
||||
#include "dsegmentedcontrol.h"
|
||||
#include "libdui_global.h"
|
||||
#include "dwidget_global.h"
|
||||
|
||||
DWIDGET_USE_NAMESPACE
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue