special directory for stuff we want to move from widgets to gui
authorLars Knoll <lars.knoll@nokia.com>
Thu, 5 May 2011 12:02:45 +0000 (14:02 +0200)
committerLars Knoll <lars.knoll@nokia.com>
Thu, 5 May 2011 12:02:45 +0000 (14:02 +0200)
Create a special to_be_moved directory, that will contain files
that are to be moved from QtWidgets to QtGui. This will allow
us to do a first split of the libraries rather fast and we can
then start pulling in these classes one by one.

21 files changed:
src/gui/gui.pro
src/gui/guikernel/guikernel.pri
src/gui/guiutil/guiutil.pri [new file with mode: 0644]
src/gui/to_be_moved/qdnd.cpp [moved from src/gui/guikernel/qdnd.cpp with 100% similarity]
src/gui/to_be_moved/qdnd_p.h [moved from src/gui/guikernel/qdnd_p.h with 100% similarity]
src/gui/to_be_moved/qdnd_qpa.cpp [moved from src/gui/guikernel/qdnd_qpa.cpp with 100% similarity]
src/gui/to_be_moved/qdrag.cpp [moved from src/gui/guikernel/qdrag.cpp with 100% similarity]
src/gui/to_be_moved/qdrag.h [moved from src/gui/guikernel/qdrag.h with 100% similarity]
src/gui/to_be_moved/qkeymapper.cpp [moved from src/gui/guikernel/qkeymapper.cpp with 100% similarity]
src/gui/to_be_moved/qkeymapper_p.h [moved from src/gui/guikernel/qkeymapper_p.h with 100% similarity]
src/gui/to_be_moved/qkeymapper_qpa.cpp [moved from src/gui/guikernel/qkeymapper_qpa.cpp with 100% similarity]
src/gui/to_be_moved/qlinecontrol.cpp [moved from src/gui/text/qlinecontrol.cpp with 100% similarity]
src/gui/to_be_moved/qlinecontrol_p.h [moved from src/gui/text/qlinecontrol_p.h with 100% similarity]
src/gui/to_be_moved/qshortcut.cpp [moved from src/gui/guikernel/qshortcut.cpp with 100% similarity]
src/gui/to_be_moved/qshortcut.h [moved from src/gui/guikernel/qshortcut.h with 100% similarity]
src/gui/to_be_moved/qshortcutmap.cpp [moved from src/gui/guikernel/qshortcutmap.cpp with 100% similarity]
src/gui/to_be_moved/qshortcutmap_p.h [moved from src/gui/guikernel/qshortcutmap_p.h with 100% similarity]
src/gui/to_be_moved/qtextcontrol.cpp [moved from src/gui/text/qtextcontrol.cpp with 100% similarity]
src/gui/to_be_moved/qtextcontrol_p.h [moved from src/gui/text/qtextcontrol_p.h with 100% similarity]
src/gui/to_be_moved/qtextcontrol_p_p.h [moved from src/gui/text/qtextcontrol_p_p.h with 100% similarity]
src/gui/to_be_moved/to_be_moved.pri [new file with mode: 0644]

index 488378b..c146a9b 100644 (file)
@@ -33,6 +33,9 @@ include(text/text.pri)
 include(painting/painting.pri)
 include(guiutil/guiutil.pri)
 
+# to be moved into QtGui
+include(to_be_moved/to_be_moved.pri)
+
 #modules
 include(animation/animation.pri)
 include(kernel/kernel.pri)
index 23cb385..7f24adf 100644 (file)
@@ -8,30 +8,21 @@ KERNEL_P= guikernel
 HEADERS += \
         guikernel/qclipboard.h \
         guikernel/qcursor.h \
-        guikernel/qdrag.h \
-        guikernel/qdnd_p.h \
         guikernel/qevent.h \
         guikernel/qevent_p.h \
         guikernel/qkeysequence.h \
+        guikernel/qkeysequence_p.h \
         guikernel/qmime.h \
         guikernel/qsessionmanager.h \
-        guikernel/qshortcut.h \
-        guikernel/qshortcutmap_p.h \
         guikernel/qwindowdefs.h \
-        guikernel/qkeymapper_p.h
 
 SOURCES += \
         guikernel/qclipboard.cpp \
         guikernel/qcursor.cpp \
-        guikernel/qdrag.cpp \
-        guikernel/qdnd.cpp \
         guikernel/qevent.cpp \
         guikernel/qkeysequence.cpp \
         guikernel/qmime.cpp \
-        guikernel/qshortcut.cpp \
-        guikernel/qshortcutmap.cpp \
         guikernel/qguivariant.cpp \
-        guikernel/qkeymapper.cpp \
 
 qpa {
        HEADERS += \
@@ -60,10 +51,8 @@ qpa {
        SOURCES += \
                 guikernel/qclipboard_qpa.cpp \
                 guikernel/qcursor_qpa.cpp \
-                guikernel/qdnd_qpa.cpp \
                 guikernel/qgenericpluginfactory_qpa.cpp \
                 guikernel/qgenericplugin_qpa.cpp \
-                guikernel/qkeymapper_qpa.cpp \
                 guikernel/qeventdispatcher_qpa.cpp \
                 guikernel/qwindowsysteminterface_qpa.cpp \
                 guikernel/qplatformintegration_qpa.cpp \
diff --git a/src/gui/guiutil/guiutil.pri b/src/gui/guiutil/guiutil.pri
new file mode 100644 (file)
index 0000000..95ec2cf
--- /dev/null
@@ -0,0 +1,10 @@
+# Qt util module
+
+HEADERS += \
+        guiutil/qdesktopservices.h \
+        guiutil/qhexstring_p.h \
+        guiutil/qvalidator.h
+
+SOURCES += \
+        guiutil/qdesktopservices.cpp \
+        guiutil/qvalidator.cpp
diff --git a/src/gui/to_be_moved/to_be_moved.pri b/src/gui/to_be_moved/to_be_moved.pri
new file mode 100644 (file)
index 0000000..9967dd8
--- /dev/null
@@ -0,0 +1,20 @@
+HEADERS += \
+        to_be_moved/qlinecontrol_p.h \
+        to_be_moved/qtextcontrol_p.h \
+        to_be_moved/qtextcontrol_p_p.h \
+        to_be_moved/qshortcut.h \
+        to_be_moved/qshortcutmap_p.h \
+        to_be_moved/qdrag.h \
+        to_be_moved/qdnd_p.h \
+        to_be_moved/qkeymapper_p.h
+
+SOURCES += \
+        to_be_moved/qlinecontrol.cpp \
+        to_be_moved/qtextcontrol.cpp \
+        to_be_moved/qshortcut.cpp \
+        to_be_moved/qshortcutmap.cpp \
+        to_be_moved/qdrag.cpp \
+        to_be_moved/qdnd.cpp \
+        to_be_moved/qdnd_qpa.cpp \
+        to_be_moved/qkeymapper.cpp \
+        to_be_moved/qkeymapper_qpa.cpp \