update source code structure

This commit is contained in:
Hualet Wang 2015-06-30 17:54:47 +08:00
parent e14891dea1
commit 7ff94854e4
5 changed files with 53 additions and 53 deletions

52
dde-dock/dde-dock.pro Normal file
View File

@ -0,0 +1,52 @@
#-------------------------------------------------
#
# Project created by QtCreator 2015-06-20T10:09:57
#
#-------------------------------------------------
QT += core gui x11extras
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = dde-dock
TEMPLATE = app
INCLUDEPATH += src/
SOURCES += \
src/main.cpp \
src/mainwidget.cpp \
src/Widgets/appbackground.cpp \
src/Widgets/appicon.cpp \
src/Widgets/appitem.cpp \
src/Widgets/dockconstants.cpp \
src/Widgets/dockitem.cpp \
src/Widgets/dockitemdelegate.cpp \
src/Widgets/docklayout.cpp \
src/Widgets/dockmodel.cpp \
src/Widgets/dockview.cpp \
src/Widgets/screenmask.cpp \
src/Widgets/windowpreview.cpp \
src/Panel/panel.cpp
HEADERS += \
src/abstractdockitem.h \
src/dockplugininterface.h \
src/mainwidget.h \
src/Widgets/appbackground.h \
src/Widgets/appicon.h \
src/Widgets/appitem.h \
src/Widgets/dockconstants.h \
src/Widgets/dockitem.h \
src/Widgets/dockitemdelegate.h \
src/Widgets/docklayout.h \
src/Widgets/dockmodel.h \
src/Widgets/dockview.h \
src/Widgets/screenmask.h \
src/Widgets/windowpreview.h \
src/Panel/panel.h
RESOURCES += \
images.qrc
PKGCONFIG += gtk+-2.0 x11
CONFIG += c++11 link_pkgconfig

View File

@ -1,52 +0,0 @@
#-------------------------------------------------
#
# Project created by QtCreator 2015-06-20T10:09:57
#
#-------------------------------------------------
QT += core gui x11extras
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = dde-dock
TEMPLATE = app
SOURCES += \
main.cpp \
mainwidget.cpp \
Widgets/appbackground.cpp \
Widgets/appicon.cpp \
Widgets/appitem.cpp \
Widgets/dockconstants.cpp \
Widgets/dockitem.cpp \
Widgets/dockitemdelegate.cpp \
Widgets/docklayout.cpp \
Widgets/dockmodel.cpp \
Widgets/dockview.cpp \
Widgets/screenmask.cpp \
Widgets/windowpreview.cpp \
Panel/panel.cpp
HEADERS += \
abstractdockitem.h \
dockplugininterface.h \
mainwidget.h \
Widgets/appbackground.h \
Widgets/appicon.h \
Widgets/appitem.h \
Widgets/dockconstants.h \
Widgets/dockitem.h \
Widgets/dockitemdelegate.h \
Widgets/docklayout.h \
Widgets/dockmodel.h \
Widgets/dockview.h \
Widgets/screenmask.h \
Widgets/windowpreview.h \
Panel/panel.h
RESOURCES += \
images.qrc
PKGCONFIG += gtk+-2.0 x11
CONFIG += c++11 link_pkgconfig

0
dde-dock/src/dockplugininterface.h Executable file → Normal file
View File

View File

@ -6,7 +6,7 @@
#include <QWidget>
#include <QScreen>
#include <QDebug>
#include <Panel/panel.h>
#include "Panel/panel.h"
class MainWidget : public QWidget
{