62 lines
2.0 KiB
Prolog
62 lines
2.0 KiB
Prolog
|
QT += core
|
|||
|
QT -= gui
|
|||
|
|
|||
|
CONFIG += c++11
|
|||
|
|
|||
|
TARGET = DesignPatterns
|
|||
|
CONFIG += console
|
|||
|
CONFIG -= app_bundle
|
|||
|
|
|||
|
TEMPLATE = app
|
|||
|
|
|||
|
SOURCES += main.cpp
|
|||
|
|
|||
|
# The following define makes your compiler emit warnings if you use
|
|||
|
# any feature of Qt which as been marked deprecated (the exact warnings
|
|||
|
# depend on your compiler). Please consult the documentation of the
|
|||
|
# deprecated API in order to know how to port your code away from it.
|
|||
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|||
|
|
|||
|
# You can also make your code fail to compile if you use deprecated APIs.
|
|||
|
# In order to do so, uncomment the following line.
|
|||
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|||
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|||
|
|
|||
|
include(factorypattern/factorypattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(singletonpattern/singletonpattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(proxypattern/proxypattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(templatepattern/templatepattern.pri)#ģ<EFBFBD><EFBFBD>ģʽ
|
|||
|
include(strategypattern/strategypattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(flyweightpattern/flyweightpattern.pri)#<EFBFBD><EFBFBD>Ԫģʽ
|
|||
|
include(visitorpattern/visitorpattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(mediatorpattern/mediatorpattern.pri)#<EFBFBD>н<EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(observerpattern/observerpattern.pri)#<EFBFBD>۲<EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(statepattern/statepattern.pri)#״̬ģʽ
|
|||
|
include(commandpattern/commandpattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(decoratorpattern/decoratorpattern.pri)#װ<EFBFBD><EFBFBD>ģʽ
|
|||
|
include(bridgepattern/bridgepattern.pri)#<EFBFBD>Ž<EFBFBD>ģʽ
|
|||
|
include(iteratorpattern/iteratorpattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(compositepattern/compositepattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(facadepattern/facadepattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(adapterpattern/adapterpattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(abstractfactorypattern/abstractfactorypattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(builderpattern/builderpattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(prototypepattern/prototypepattern.pri)#ԭ<EFBFBD><EFBFBD>ģʽ
|
|||
|
include(interpreterpattern/interpreterpattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(chainofresponsibilitypattern/chainofresponsibilitypattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
|
|||
|
include(mementopattern/mementopattern.pri)#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¼ģʽ
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|