Renamed 'project' folder to 'core'

This commit is contained in:
Veronica K. B. Olsen
2020-05-08 20:58:34 +02:00
parent 5cc036e125
commit 386020bcf8
13 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ import nw
from operator import itemgetter
from PyQt5.QtCore import QRegularExpression
from nw.project.document import NWDoc
from nw.core.document import NWDoc
from nw.tools.translate import numberToWord
from nw.constants import nwItemLayout
+11
View File
@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
from nw.core.document import NWDoc
from nw.core.index import NWIndex
from nw.core.project import NWProject
__all__ = [
"NWDoc",
"NWIndex",
"NWProject",
]
+1 -1
View File
@@ -34,7 +34,7 @@ from PyQt5.QtWidgets import (
QListWidget, QAbstractItemView, QListWidgetItem
)
from nw.constants import nwAlert, nwItemType
from nw.project import NWDoc
from nw.core import NWDoc
logger = logging.getLogger(__name__)
+1 -1
View File
@@ -34,7 +34,7 @@ from PyQt5.QtWidgets import (
QListWidget, QAbstractItemView, QListWidgetItem
)
from nw.constants import nwAlert, nwItemType, nwItemClass, nwItemLayout
from nw.project import NWDoc
from nw.core import NWDoc
logger = logging.getLogger(__name__)
+1 -1
View File
@@ -39,7 +39,7 @@ from PyQt5.QtGui import (
QTextDocument, QCursor
)
from nw.project import NWDoc
from nw.core import NWDoc
from nw.gui.tools import GuiDocHighlighter, WordCounter
from nw.gui.elements.doctitlebar import GuiDocTitleBar
from nw.tools import NWSpellSimple
+1 -1
View File
@@ -34,7 +34,7 @@ from PyQt5.QtWidgets import (
QTreeWidget, QTreeWidgetItem, QAbstractItemView, QApplication, QMessageBox
)
from nw.project import NWDoc
from nw.core import NWDoc
from nw.constants import (
nwLabels, nwItemType, nwItemClass, nwItemLayout, nwAlert
)
+1 -1
View File
@@ -45,7 +45,7 @@ from nw.gui import (
GuiConfigEditor, GuiProjectEditor, GuiItemEditor, GuiProjectOutline,
GuiSessionLogView, GuiDocMerge, GuiDocSplit, GuiProjectLoad
)
from nw.project import NWProject, NWDoc, NWIndex
from nw.core import NWProject, NWDoc, NWIndex
from nw.tools import countWords
from nw.constants import nwFiles, nwItemType, nwAlert
-11
View File
@@ -1,11 +0,0 @@
# -*- coding: utf-8 -*-
from nw.project.document import NWDoc
from nw.project.index import NWIndex
from nw.project.project import NWProject
__all__ = [
"NWDoc",
"NWIndex",
"NWProject",
]
+1 -1
View File
@@ -9,7 +9,7 @@ from lxml import etree
from nwdummy import DummyMain
from nw.config import Config
from nw.project.project import NWProject, NWItem
from nw.core.project import NWProject, NWItem
from nw.constants import nwItemClass, nwItemType, nwItemLayout
theConf = Config()
+2 -2
View File
@@ -10,8 +10,8 @@ from nwtools import *
from nwdummy import DummyMain
from nw.config import Config
from nw.project.project import NWProject
from nw.project.index import NWIndex
from nw.core.project import NWProject
from nw.core.index import NWIndex
from nw.constants import nwItemClass
theConf = Config()