move source stuff into src subdir

Make it convenient to add third-party libraries.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
This commit is contained in:
Le Tan 2016-10-22 14:11:33 +08:00
parent c7e631fa02
commit 5fa07864a1
99 changed files with 66 additions and 55 deletions

4
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "utils/marked"]
path = utils/marked
[submodule "src/utils/marked"]
path = src/utils/marked
url = https://github.com/chjj/marked.git

View File

@ -4,58 +4,8 @@
#
#-------------------------------------------------
QT += core gui webenginewidgets webchannel
TEMPLATE = subdirs
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
TARGET = VNote
TEMPLATE = app
SOURCES += main.cpp\
vmainwindow.cpp \
vdirectorytree.cpp \
vnote.cpp \
vnotebook.cpp \
dialog/vnewdirdialog.cpp \
vconfigmanager.cpp \
vfilelist.cpp \
dialog/vnewfiledialog.cpp \
vtabwidget.cpp \
vedit.cpp \
veditor.cpp \
vnotefile.cpp \
vdocument.cpp \
utils/vutils.cpp \
vpreviewpage.cpp \
utils/peg-highlight/pmh_parser.c \
hgmarkdownhighlighter.cpp \
vstyleparser.cpp \
utils/peg-highlight/pmh_styleparser.c \
dialog/vnewnotebookdialog.cpp
HEADERS += vmainwindow.h \
vdirectorytree.h \
vnote.h \
vnotebook.h \
dialog/vnewdirdialog.h \
vconfigmanager.h \
vfilelist.h \
dialog/vnewfiledialog.h \
vtabwidget.h \
vedit.h \
veditor.h \
vconstants.h \
vnotefile.h \
vdocument.h \
utils/vutils.h \
vpreviewpage.h \
utils/peg-highlight/pmh_parser.h \
hgmarkdownhighlighter.h \
utils/peg-highlight/pmh_definitions.h \
vstyleparser.h \
utils/peg-highlight/pmh_styleparser.h \
dialog/vnewnotebookdialog.h
RESOURCES += \
vnote.qrc
SUBDIRS = src

View File

Before

Width:  |  Height:  |  Size: 223 B

After

Width:  |  Height:  |  Size: 223 B

View File

Before

Width:  |  Height:  |  Size: 160 B

After

Width:  |  Height:  |  Size: 160 B

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

61
src/src.pro Normal file
View File

@ -0,0 +1,61 @@
#-------------------------------------------------
#
# Project created by QtCreator 2016-10-01T11:03:59
#
#-------------------------------------------------
QT += core gui webenginewidgets webchannel
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = VNote
TEMPLATE = app
SOURCES += main.cpp\
vmainwindow.cpp \
vdirectorytree.cpp \
vnote.cpp \
vnotebook.cpp \
dialog/vnewdirdialog.cpp \
vconfigmanager.cpp \
vfilelist.cpp \
dialog/vnewfiledialog.cpp \
vtabwidget.cpp \
vedit.cpp \
veditor.cpp \
vnotefile.cpp \
vdocument.cpp \
utils/vutils.cpp \
vpreviewpage.cpp \
utils/peg-highlight/pmh_parser.c \
hgmarkdownhighlighter.cpp \
vstyleparser.cpp \
utils/peg-highlight/pmh_styleparser.c \
dialog/vnewnotebookdialog.cpp
HEADERS += vmainwindow.h \
vdirectorytree.h \
vnote.h \
vnotebook.h \
dialog/vnewdirdialog.h \
vconfigmanager.h \
vfilelist.h \
dialog/vnewfiledialog.h \
vtabwidget.h \
vedit.h \
veditor.h \
vconstants.h \
vnotefile.h \
vdocument.h \
utils/vutils.h \
vpreviewpage.h \
utils/peg-highlight/pmh_parser.h \
hgmarkdownhighlighter.h \
utils/peg-highlight/pmh_definitions.h \
vstyleparser.h \
utils/peg-highlight/pmh_styleparser.h \
dialog/vnewnotebookdialog.h
RESOURCES += \
vnote.qrc