Commiter: unknown
Author: unknown
(2008/10/14 05:33) Over 3 years ago
Initial import
1
DL
2
N=28
3
FORMAT = FULLMATRIX DIAGONAL PRESENT
4
LABELS:
5
Agricultural Economics & Policy
6
Economics
7
Business
8
Geography
9
Planning & Development
10
Ecology
11
Environmental Sciences
12
Environmental Studies
13
Energy & Fuels
14
Social Sciences, Mathematical Methods
15
Ethics
16
Mathematics, Interdisciplinary Applications
17
Statistics & Probability
18
Demography
19
Business, Finance
20
Urban Studies
21
Public Administration
22
Agronomy
23
Water Resources
24
Public, Environmental & Occupational Health
25
Nutrition & Dietetics
26
Sociology
27
Religion
28
Social Issues
29
Social Work
30
Management
31
Health Care Sciences & Services
32
Health Policy & Services
33
DATA:
34
0 0.121212 0.2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
35
0.121212 0 0.0294118 0.0294118 0.218182 0.0294118 0.0294118 0.0588235 0.030303 0.0909091 0.030303 0.030303 0.030303 0.030303 0.0909091 0 0 0 0 0 0 0 0 0 0 0 0 0
36
0.2 0.0294118 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0 0
37
0 0.0294118 0 0 0.0285714 0 0 0 0 0 0 0 0 0 0 0.333333 0 0 0 0 0 0 0 0 0 0 0 0
38
0 0.218182 0 0.0285714 0 0 0 0 0 0 0 0 0 0 0.0882353 0.0285714 0.0285714 0 0 0 0 0 0 0 0 0 0 0
39
0 0.0294118 0 0 0 0 1 0.25 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
40
0 0.0294118 0 0 0 1 0 0.25 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
41
0 0.0588235 0 0 0 0.25 0.25 0 0.333333 0 0 0 0 0 0 0.25 0 0 0 0 0 0 0 0 0 0 0 0
42
0 0.030303 0 0 0 0 0 0.333333 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
43
0 0.0909091 0 0 0 0 0 0 0 0 0 0.333333 0.333333 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
44
0 0.030303 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
45
0 0.030303 0 0 0 0 0 0 0 0.333333 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
46
0 0.030303 0 0 0 0 0 0 0 0.333333 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
47
48
0 0.0909091 0 0 0.0882353 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
49
0 0 0 0.333333 0.0285714 0 0 0.25 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
50
0 0 0 0 0.0285714 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0.5 0 0 0
51
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
52
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
53
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.333333 0 0 0 0 0 0 0
54
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.333333 0 0 0 0 0 0 0 0
55
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.333333 0 0 0 0 0
56
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.333333 0 0 0 0 0 0
57
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0 0 0 0 0 0 0 1 0 0 0
58
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0 0 0 0 0 0 1 0 0 0 0
59
0 0 0.5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
60
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
61
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
<!DOCTYPE RCC><RCC version="1.0">
<qresource prefix="/images">
<file alias="query_small.png">images/query_small.png</file>
<file alias="query_big.png">images/query_big.png</file>
<file alias="table_small.png">images/table_small.png</file>
<file alias="table_big.png">images/table_big.png</file>
<file alias="field_small.png">images/field_small.png</file>
<file alias="field_big.png">images/field_big.png</file>
<file alias="key.png">images/key.png</file>
<file alias="filter_small.png">images/filter_small.png</file>
<file alias="filter_big.png">images/filter_big.png</file>
</qresource>
</RCC>
IDI_ICON1 ICON DISCARDABLE "RathenauLogo.ico"
<ui version="4.0" >
<class>FileSelectorUI</class>
<widget class="QWidget" name="FileSelectorUI" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>454</width>
<height>78</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
<layout class="QHBoxLayout" name="horizontalLayout" >
<property name="margin" >
<number>0</number>
<item>
<widget class="QComboBox" name="cbFileName" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<property name="editable" >
<bool>true</bool>
</widget>
</item>
<widget class="QToolButton" name="cmdBrowse" >
<property name="text" >
<string>...</string>
</layout>
<resources/>
<connections/>
</ui>
TEMPLATE = app
TARGET = IsiParser
QT = gui core sql
CONFIG += qt warn_on release
DESTDIR = ../bin
OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build
VPATH = ../common/
INCLUDEPATH = ../common/src/
FORMS = ui/dialog.ui ui/main.ui ui/progress.ui ui/fileSelectorUI.ui
HEADERS = src/dialogimpl.h \
src/fileselector.h \
src/mainui.h \
src/accesswriter.h \
src/isiparser.h \
src/controller.h \
src/progressform.h \
src/countryfinder.h
SOURCES = src/dialogimpl.cpp \
src/main.cpp \
src/fileselector.cpp \
src/mainui.cpp \
src/accesswriter.cpp \
src/isiparser.cpp \
src/controller.cpp \
src/progressform.cpp \
src/countryfinder.cpp
RESOURCES += resources/miscresource/misc.qrc
RC_FILE = ../common/resources/rathenau.rc
<qresource prefix="/misc">
<file>db.mdb</file>
<file>alternative_country_names.csv</file>
<file>countries_with_iso.csv</file>
<file>us_states.csv</file>
move recordgroup.exe c:\devel\debug
#############################################################################
# Makefile for building: scisa_toolkit
# Generated by qmake (2.01a) (Qt 4.4.0) on: wo 14. mei 07:35:12 2008
# Project: scisa_toolkit.pro
# Template: subdirs
# Command: c:\Devel\Qt\4.4.0\bin\qmake.exe -win32 -o Makefile scisa_toolkit.pro
first: make_default
MAKEFILE = Makefile
QMAKE = c:\Devel\Qt\4.4.0\bin\qmake.exe
DEL_FILE = del
CHK_DIR_EXISTS= if not exist
MKDIR = mkdir
COPY = copy /y
COPY_FILE = $(COPY)
COPY_DIR = xcopy /s /q /y /i
INSTALL_FILE = $(COPY_FILE)
INSTALL_PROGRAM = $(COPY_FILE)
INSTALL_DIR = $(COPY_DIR)
SYMLINK =
DEL_DIR = rmdir
MOVE = move
SUBTARGETS = \
sub-isiparser \
sub-cordisparser \
sub-matrixcompiler \
sub-patentdataharvester
isiparser\$(MAKEFILE):
@$(CHK_DIR_EXISTS) isiparser\ $(MKDIR) isiparser\
cd isiparser\ && $(QMAKE) isiparser.pro -win32 -o $(MAKEFILE)
sub-isiparser-qmake_all: FORCE
sub-isiparser: isiparser\$(MAKEFILE) FORCE
cd isiparser\ && $(MAKE) -f $(MAKEFILE)
sub-isiparser-make_default: isiparser\$(MAKEFILE) FORCE
sub-isiparser-make_first: isiparser\$(MAKEFILE) FORCE
cd isiparser\ && $(MAKE) -f $(MAKEFILE) first
sub-isiparser-all: isiparser\$(MAKEFILE) FORCE
cd isiparser\ && $(MAKE) -f $(MAKEFILE) all
sub-isiparser-clean: isiparser\$(MAKEFILE) FORCE
cd isiparser\ && $(MAKE) -f $(MAKEFILE) clean
sub-isiparser-distclean: isiparser\$(MAKEFILE) FORCE
cd isiparser\ && $(MAKE) -f $(MAKEFILE) distclean
sub-isiparser-install_subtargets: isiparser\$(MAKEFILE) FORCE
cd isiparser\ && $(MAKE) -f $(MAKEFILE) install
sub-isiparser-uninstall_subtargets: isiparser\$(MAKEFILE) FORCE
cd isiparser\ && $(MAKE) -f $(MAKEFILE) uninstall
cordisparser\$(MAKEFILE):
@$(CHK_DIR_EXISTS) cordisparser\ $(MKDIR) cordisparser\
cd cordisparser\ && $(QMAKE) cordisparser.pro -win32 -o $(MAKEFILE)
sub-cordisparser-qmake_all: FORCE
sub-cordisparser: cordisparser\$(MAKEFILE) FORCE
62
cd cordisparser\ && $(MAKE) -f $(MAKEFILE)
63
sub-cordisparser-make_default: cordisparser\$(MAKEFILE) FORCE
64
65
sub-cordisparser-make_first: cordisparser\$(MAKEFILE) FORCE
66
cd cordisparser\ && $(MAKE) -f $(MAKEFILE) first
67
sub-cordisparser-all: cordisparser\$(MAKEFILE) FORCE
68
cd cordisparser\ && $(MAKE) -f $(MAKEFILE) all
69
sub-cordisparser-clean: cordisparser\$(MAKEFILE) FORCE
70
cd cordisparser\ && $(MAKE) -f $(MAKEFILE) clean
71
sub-cordisparser-distclean: cordisparser\$(MAKEFILE) FORCE
72
cd cordisparser\ && $(MAKE) -f $(MAKEFILE) distclean
73
sub-cordisparser-install_subtargets: cordisparser\$(MAKEFILE) FORCE
74
cd cordisparser\ && $(MAKE) -f $(MAKEFILE) install
75
sub-cordisparser-uninstall_subtargets: cordisparser\$(MAKEFILE) FORCE
76
cd cordisparser\ && $(MAKE) -f $(MAKEFILE) uninstall
77
matrixcompiler\$(MAKEFILE):
78
@$(CHK_DIR_EXISTS) matrixcompiler\ $(MKDIR) matrixcompiler\
79
cd matrixcompiler\ && $(QMAKE) matrixcompiler.pro -win32 -o $(MAKEFILE)
80
sub-matrixcompiler-qmake_all: FORCE
81
82
83
sub-matrixcompiler: matrixcompiler\$(MAKEFILE) FORCE
84
cd matrixcompiler\ && $(MAKE) -f $(MAKEFILE)
85
sub-matrixcompiler-make_default: matrixcompiler\$(MAKEFILE) FORCE
86
87
sub-matrixcompiler-make_first: matrixcompiler\$(MAKEFILE) FORCE
88
cd matrixcompiler\ && $(MAKE) -f $(MAKEFILE) first
89
sub-matrixcompiler-all: matrixcompiler\$(MAKEFILE) FORCE
90
cd matrixcompiler\ && $(MAKE) -f $(MAKEFILE) all
91
sub-matrixcompiler-clean: matrixcompiler\$(MAKEFILE) FORCE
92
cd matrixcompiler\ && $(MAKE) -f $(MAKEFILE) clean
93
sub-matrixcompiler-distclean: matrixcompiler\$(MAKEFILE) FORCE
94
cd matrixcompiler\ && $(MAKE) -f $(MAKEFILE) distclean
95
sub-matrixcompiler-install_subtargets: matrixcompiler\$(MAKEFILE) FORCE
96
cd matrixcompiler\ && $(MAKE) -f $(MAKEFILE) install
97
sub-matrixcompiler-uninstall_subtargets: matrixcompiler\$(MAKEFILE) FORCE
98
cd matrixcompiler\ && $(MAKE) -f $(MAKEFILE) uninstall
99
patentdataharvester\$(MAKEFILE):
100
@$(CHK_DIR_EXISTS) patentdataharvester\ $(MKDIR) patentdataharvester\
101
cd patentdataharvester\ && $(QMAKE) patentdataharvester.pro -win32 -o $(MAKEFILE)
102
sub-patentdataharvester-qmake_all: FORCE
103
104
105
sub-patentdataharvester: patentdataharvester\$(MAKEFILE) FORCE
106
cd patentdataharvester\ && $(MAKE) -f $(MAKEFILE)
107
sub-patentdataharvester-make_default: patentdataharvester\$(MAKEFILE) FORCE
108
109
sub-patentdataharvester-make_first: patentdataharvester\$(MAKEFILE) FORCE
110
cd patentdataharvester\ && $(MAKE) -f $(MAKEFILE) first
111
sub-patentdataharvester-all: patentdataharvester\$(MAKEFILE) FORCE
112
cd patentdataharvester\ && $(MAKE) -f $(MAKEFILE) all
113
sub-patentdataharvester-clean: patentdataharvester\$(MAKEFILE) FORCE
114
cd patentdataharvester\ && $(MAKE) -f $(MAKEFILE) clean
115
sub-patentdataharvester-distclean: patentdataharvester\$(MAKEFILE) FORCE
116
cd patentdataharvester\ && $(MAKE) -f $(MAKEFILE) distclean
117
sub-patentdataharvester-install_subtargets: patentdataharvester\$(MAKEFILE) FORCE
118
cd patentdataharvester\ && $(MAKE) -f $(MAKEFILE) install
119
sub-patentdataharvester-uninstall_subtargets: patentdataharvester\$(MAKEFILE) FORCE
120
cd patentdataharvester\ && $(MAKE) -f $(MAKEFILE) uninstall
121
122
Makefile: scisa_toolkit.pro c:/Devel/Qt/4.4.0/mkspecs/win32-g++/qmake.conf c:/Devel/Qt/4.4.0/mkspecs/qconfig.pri \
123
c:/Devel/Qt/4.4.0/mkspecs/features/qt_functions.prf \
124
c:/Devel/Qt/4.4.0/mkspecs/features/qt_config.prf \
125
c:/Devel/Qt/4.4.0/mkspecs/features/exclusive_builds.prf \
126
c:/Devel/Qt/4.4.0/mkspecs/features/default_pre.prf \
127
c:/Devel/Qt/4.4.0/mkspecs/features/win32/default_pre.prf \
128
c:/Devel/Qt/4.4.0/mkspecs/features/debug.prf \
129
c:/Devel/Qt/4.4.0/mkspecs/features/debug_and_release.prf \
130
c:/Devel/Qt/4.4.0/mkspecs/features/default_post.prf \
131
c:/Devel/Qt/4.4.0/mkspecs/features/win32/rtti.prf \
132
c:/Devel/Qt/4.4.0/mkspecs/features/win32/exceptions.prf \
133
c:/Devel/Qt/4.4.0/mkspecs/features/win32/stl.prf \
134
c:/Devel/Qt/4.4.0/mkspecs/features/shared.prf \
135
c:/Devel/Qt/4.4.0/mkspecs/features/warn_on.prf \
136
c:/Devel/Qt/4.4.0/mkspecs/features/qt.prf \
137
c:/Devel/Qt/4.4.0/mkspecs/features/win32/thread.prf \
138
c:/Devel/Qt/4.4.0/mkspecs/features/moc.prf \
139
c:/Devel/Qt/4.4.0/mkspecs/features/win32/windows.prf \
140
c:/Devel/Qt/4.4.0/mkspecs/features/resources.prf \
141
c:/Devel/Qt/4.4.0/mkspecs/features/uic.prf \
142
c:/Devel/Qt/4.4.0/mkspecs/features/yacc.prf \
143
c:/Devel/Qt/4.4.0/mkspecs/features/lex.prf
144
$(QMAKE) -win32 -o Makefile scisa_toolkit.pro
145
c:\Devel\Qt\4.4.0\mkspecs\qconfig.pri:
146
c:\Devel\Qt\4.4.0\mkspecs\features\qt_functions.prf:
147
c:\Devel\Qt\4.4.0\mkspecs\features\qt_config.prf:
148
c:\Devel\Qt\4.4.0\mkspecs\features\exclusive_builds.prf:
149
c:\Devel\Qt\4.4.0\mkspecs\features\default_pre.prf:
150
c:\Devel\Qt\4.4.0\mkspecs\features\win32\default_pre.prf:
151
c:\Devel\Qt\4.4.0\mkspecs\features\debug.prf:
152
c:\Devel\Qt\4.4.0\mkspecs\features\debug_and_release.prf:
153
c:\Devel\Qt\4.4.0\mkspecs\features\default_post.prf:
154
c:\Devel\Qt\4.4.0\mkspecs\features\win32\rtti.prf:
155
c:\Devel\Qt\4.4.0\mkspecs\features\win32\exceptions.prf:
156
c:\Devel\Qt\4.4.0\mkspecs\features\win32\stl.prf:
157
c:\Devel\Qt\4.4.0\mkspecs\features\shared.prf:
158
c:\Devel\Qt\4.4.0\mkspecs\features\warn_on.prf:
159
c:\Devel\Qt\4.4.0\mkspecs\features\qt.prf:
160
c:\Devel\Qt\4.4.0\mkspecs\features\win32\thread.prf:
161
c:\Devel\Qt\4.4.0\mkspecs\features\moc.prf:
162
c:\Devel\Qt\4.4.0\mkspecs\features\win32\windows.prf:
163
c:\Devel\Qt\4.4.0\mkspecs\features\resources.prf:
164
c:\Devel\Qt\4.4.0\mkspecs\features\uic.prf:
165
c:\Devel\Qt\4.4.0\mkspecs\features\yacc.prf:
166
c:\Devel\Qt\4.4.0\mkspecs\features\lex.prf:
167
qmake: qmake_all FORCE
168
@$(QMAKE) -win32 -o Makefile scisa_toolkit.pro
169
170
qmake_all: sub-isiparser-qmake_all sub-cordisparser-qmake_all sub-matrixcompiler-qmake_all sub-patentdataharvester-qmake_all FORCE
171
172
make_default: sub-isiparser-make_default sub-cordisparser-make_default sub-matrixcompiler-make_default sub-patentdataharvester-make_default FORCE
173
make_first: sub-isiparser-make_first sub-cordisparser-make_first sub-matrixcompiler-make_first sub-patentdataharvester-make_first FORCE
174
all: sub-isiparser-all sub-cordisparser-all sub-matrixcompiler-all sub-patentdataharvester-all FORCE
175
clean: sub-isiparser-clean sub-cordisparser-clean sub-matrixcompiler-clean sub-patentdataharvester-clean FORCE
176
distclean: sub-isiparser-distclean sub-cordisparser-distclean sub-matrixcompiler-distclean sub-patentdataharvester-distclean FORCE
177
-$(DEL_FILE) Makefile
178
install_subtargets: sub-isiparser-install_subtargets sub-cordisparser-install_subtargets sub-matrixcompiler-install_subtargets sub-patentdataharvester-install_subtargets FORCE
179
uninstall_subtargets: sub-isiparser-uninstall_subtargets sub-cordisparser-uninstall_subtargets sub-matrixcompiler-uninstall_subtargets sub-patentdataharvester-uninstall_subtargets FORCE
180
181
sub-isiparser-sub_Debug: isiparser\\$(MAKEFILE)
182
cd isiparser\ && $(MAKE) debug
183
sub-cordisparser-sub_Debug: cordisparser\\$(MAKEFILE)
184
cd cordisparser\ && $(MAKE) debug
185
sub-matrixcompiler-sub_Debug: matrixcompiler\\$(MAKEFILE)
186
cd matrixcompiler\ && $(MAKE) debug
187
sub-patentdataharvester-sub_Debug: patentdataharvester\\$(MAKEFILE)
188
cd patentdataharvester\ && $(MAKE) debug
189
debug: sub-isiparser-sub_Debug sub-cordisparser-sub_Debug sub-matrixcompiler-sub_Debug sub-patentdataharvester-sub_Debug
190
191
sub-isiparser-sub_Release: isiparser\\$(MAKEFILE)
192
cd isiparser\ && $(MAKE) release
193
sub-cordisparser-sub_Release: cordisparser\\$(MAKEFILE)
194
cd cordisparser\ && $(MAKE) release
195
sub-matrixcompiler-sub_Release: matrixcompiler\\$(MAKEFILE)
196
cd matrixcompiler\ && $(MAKE) release
197
sub-patentdataharvester-sub_Release: patentdataharvester\\$(MAKEFILE)
198
cd patentdataharvester\ && $(MAKE) release
199
release: sub-isiparser-sub_Release sub-cordisparser-sub_Release sub-matrixcompiler-sub_Release sub-patentdataharvester-sub_Release
200
201
mocclean: compiler_moc_header_clean compiler_moc_source_clean
202
203
mocables: compiler_moc_header_make_all compiler_moc_source_make_all
204
install: install_subtargets FORCE
205
206
uninstall: uninstall_subtargets FORCE
207
208
FORCE:
209
# Makefile for building: QaiXmlImporter
# Generated by qmake (2.01a) (Qt 4.4.0) on: wo 28. mei 13:31:14 2008
# Project: OaiXmlImporter.pro
# Template: app
# Command: c:\Devel\Qt\4.4.0\bin\qmake.exe -win32 -o Makefile OaiXmlImporter.pro
first: release
install: release-install
uninstall: release-uninstall
QMAKE = c:/Devel/Qt/4.4.0/bin/qmake.exe
DEL_FILE = rm
CHK_DIR_EXISTS= test -d
COPY = cp
MOVE = mv
release \
debug
release: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release
release-make_default: $(MAKEFILE).Release FORCE
release-make_first: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release first
release-all: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release all
release-clean: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release clean
release-distclean: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release distclean
release-install: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release install
release-uninstall: $(MAKEFILE).Release FORCE
$(MAKE) -f $(MAKEFILE).Release uninstall
debug: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug
debug-make_default: $(MAKEFILE).Debug FORCE
debug-make_first: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug first
debug-all: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug all
debug-clean: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug clean
debug-distclean: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug distclean
debug-install: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug install
debug-uninstall: $(MAKEFILE).Debug FORCE
$(MAKE) -f $(MAKEFILE).Debug uninstall
Makefile: OaiXmlImporter.pro c:/Devel/Qt/4.4.0/mkspecs/default/qmake.conf c:/Devel/Qt/4.4.0/mkspecs/qconfig.pri \
c:/Devel/Qt/4.4.0/mkspecs/features/release.prf \
c:/Devel/Qt/4.4.0/mkspecs/features/win32/console.prf \
$(QMAKE) -win32 -o Makefile OaiXmlImporter.pro
c:/Devel/Qt/4.4.0/mkspecs/qconfig.pri:
c:/Devel/Qt/4.4.0/mkspecs/features/qt_functions.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/qt_config.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/exclusive_builds.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/default_pre.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/win32/default_pre.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/release.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/debug_and_release.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/default_post.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/win32/console.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/warn_on.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/qt.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/win32/thread.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/moc.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/win32/rtti.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/win32/exceptions.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/win32/stl.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/shared.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/resources.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/uic.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/yacc.prf:
c:/Devel/Qt/4.4.0/mkspecs/features/lex.prf:
@$(QMAKE) -win32 -o Makefile OaiXmlImporter.pro
qmake_all: FORCE
make_default: release-make_default debug-make_default FORCE
make_first: release-make_first debug-make_first FORCE
all: release-all debug-all FORCE
clean: release-clean debug-clean FORCE
distclean: release-distclean debug-distclean FORCE
release-mocclean: $(MAKEFILE).Release
$(MAKE) -f $(MAKEFILE).Release mocclean
debug-mocclean: $(MAKEFILE).Debug
$(MAKE) -f $(MAKEFILE).Debug mocclean
mocclean: release-mocclean debug-mocclean
release-mocables: $(MAKEFILE).Release
$(MAKE) -f $(MAKEFILE).Release mocables
debug-mocables: $(MAKEFILE).Debug
$(MAKE) -f $(MAKEFILE).Debug mocables
mocables: release-mocables debug-mocables
$(MAKEFILE).Release: Makefile
$(MAKEFILE).Debug: Makefile
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT
CFLAGS = -g -Wall $(DEFINES)
CXXFLAGS = -g -Wall -frtti -fexceptions -mthreads $(DEFINES)
INCPATH = -I'c:/Devel/Qt/4.4.0/include/QtCore' -I'c:/Devel/Qt/4.4.0/include/QtCore' -I'c:/Devel/Qt/4.4.0/include/QtGui' -I'c:/Devel/Qt/4.4.0/include/QtGui' -I'c:/Devel/Qt/4.4.0/include/QtXml' -I'c:/Devel/Qt/4.4.0/include/QtXml' -I'c:/Devel/Qt/4.4.0/include/QtSql' -I'c:/Devel/Qt/4.4.0/include/QtSql' -I'c:/Devel/Qt/4.4.0/include' -I'../common/src' -I'c:/Devel/Qt/4.4.0/include/ActiveQt' -I'build' -I'build' -I'c:/Devel/Qt/4.4.0/mkspecs/default'
LINK = g++
LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,console -mthreads -Wl
LIBS = -L'c:/Devel/Qt/4.4.0/lib' build/rathenau_res.o -lQtSqld4 -lQtXmld4 -lQtGuid4 -lQtCored4
IDC = c:/Devel/Qt/4.4.0/bin/idc.exe
IDL = midl
ZIP = zip -r -9
DEF_FILE =
RES_FILE = build/rathenau_res.o
####### Output directory
OBJECTS_DIR = build/
####### Files
src/oaiimporter.cpp \
../common/src/accesswriter.cpp \
../common/src/fileselector.cpp build/moc_dialogimpl.cpp \
build/moc_fileselector.cpp \
build/moc_accesswriter.cpp \
build/moc_oaiimporter.cpp \
debug/qrc_misc.cpp
OBJECTS = build/dialogimpl.o \
build/oaiimporter.o \
build/main.o \
build/accesswriter.o \
build/fileselector.o \
build/moc_dialogimpl.o \
build/moc_fileselector.o \
build/moc_accesswriter.o \
build/moc_oaiimporter.o \
build/qrc_misc.o
DIST =
QMAKE_TARGET = QaiXmlImporter
DESTDIR = ../bin/ #avoid trailing-slash linebreak
TARGET = QaiXmlImporter.exe
DESTDIR_TARGET = ../bin/QaiXmlImporter.exe
####### Implicit rules
.SUFFIXES: .cpp .cc .cxx .c
.cpp.o:
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
.cc.o:
.cxx.o:
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
####### Build rules
first: all
all: Makefile.Debug $(DESTDIR_TARGET)
$(DESTDIR_TARGET): build/ui_dialog.h build/ui_fileSelectorUI.h $(OBJECTS) build/rathenau_res.o
$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.QaiXmlImporter.Debug $(LIBS)
build/rathenau_res.o: ../common/resources/rathenau.rc
windres -i ../common/resources/rathenau.rc -o build/rathenau_res.o --include-dir=./../common/resources
qmake: FORCE
@$(QMAKE) -win32 -o Makefile.Debug OaiXmlImporter.pro
dist:
$(ZIP) QaiXmlImporter.zip $(SOURCES) $(DIST) OaiXmlImporter.pro c:/Devel/Qt/4.4.0/mkspecs/qconfig.pri c:/Devel/Qt/4.4.0/mkspecs/features/qt_functions.prf c:/Devel/Qt/4.4.0/mkspecs/features/qt_config.prf c:/Devel/Qt/4.4.0/mkspecs/features/exclusive_builds.prf c:/Devel/Qt/4.4.0/mkspecs/features/default_pre.prf c:/Devel/Qt/4.4.0/mkspecs/features/win32/default_pre.prf c:/Devel/Qt/4.4.0/mkspecs/features/debug.prf c:/Devel/Qt/4.4.0/mkspecs/features/debug_and_release.prf c:/Devel/Qt/4.4.0/mkspecs/features/default_post.prf c:/Devel/Qt/4.4.0/mkspecs/features/build_pass.prf c:/Devel/Qt/4.4.0/mkspecs/features/win32/console.prf c:/Devel/Qt/4.4.0/mkspecs/features/warn_on.prf c:/Devel/Qt/4.4.0/mkspecs/features/qt.prf c:/Devel/Qt/4.4.0/mkspecs/features/win32/thread.prf c:/Devel/Qt/4.4.0/mkspecs/features/moc.prf c:/Devel/Qt/4.4.0/mkspecs/features/win32/rtti.prf c:/Devel/Qt/4.4.0/mkspecs/features/win32/exceptions.prf c:/Devel/Qt/4.4.0/mkspecs/features/win32/stl.prf c:/Devel/Qt/4.4.0/mkspecs/features/shared.prf c:/Devel/Qt/4.4.0/mkspecs/features/resources.prf c:/Devel/Qt/4.4.0/mkspecs/features/uic.prf c:/Devel/Qt/4.4.0/mkspecs/features/yacc.prf c:/Devel/Qt/4.4.0/mkspecs/features/lex.prf HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
clean: compiler_clean
-$(DEL_FILE) build/dialogimpl.o build/oaiimporter.o build/main.o build/accesswriter.o build/fileselector.o build/moc_dialogimpl.o build/moc_fileselector.o build/moc_accesswriter.o build/moc_oaiimporter.o build/qrc_misc.o
-$(DEL_FILE) build/rathenau_res.o
distclean: clean
-$(DEL_FILE) $(DESTDIR_TARGET)
-$(DEL_FILE) Makefile.Debug
compiler_moc_header_make_all: build/moc_dialogimpl.cpp build/moc_fileselector.cpp build/moc_accesswriter.cpp build/moc_oaiimporter.cpp
compiler_moc_header_clean:
-$(DEL_FILE) build/moc_dialogimpl.cpp build/moc_fileselector.cpp build/moc_accesswriter.cpp build/moc_oaiimporter.cpp
build/moc_dialogimpl.cpp: build/ui_dialog.h \
../common/src/fileselector.h \
build/ui_fileSelectorUI.h \
src/dialogimpl.h
C:/Devel/Qt/4.4.0/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/dialogimpl.h -o build/moc_dialogimpl.cpp
build/moc_fileselector.cpp: build/ui_fileSelectorUI.h \
../common/src/fileselector.h
C:/Devel/Qt/4.4.0/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 ../common/src/fileselector.h -o build/moc_fileselector.cpp
build/moc_accesswriter.cpp: ../common/src/accesswriter.h
C:/Devel/Qt/4.4.0/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 ../common/src/accesswriter.h -o build/moc_accesswriter.cpp
build/moc_oaiimporter.cpp: src/oaiimporter.h
C:/Devel/Qt/4.4.0/bin/moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 src/oaiimporter.h -o build/moc_oaiimporter.cpp
compiler_rcc_make_all: debug/qrc_misc.cpp
compiler_rcc_clean:
-$(DEL_FILE) debug/qrc_misc.cpp
debug/qrc_misc.cpp: resources/miscresource/misc.qrc \
resources/miscresource/db.mdb
c:/Devel/Qt/4.4.0/bin/rcc.exe -name misc resources/miscresource/misc.qrc -o debug/qrc_misc.cpp
compiler_image_collection_make_all: qmake_image_collection.cpp
compiler_image_collection_clean:
-$(DEL_FILE) qmake_image_collection.cpp
compiler_moc_source_make_all:
compiler_moc_source_clean:
compiler_uic_make_all: build/ui_dialog.h build/ui_fileSelectorUI.h
compiler_uic_clean:
-$(DEL_FILE) build/ui_dialog.h build/ui_fileSelectorUI.h
build/ui_dialog.h: ui/dialog.ui
c:/Devel/Qt/4.4.0/bin/uic.exe ui/dialog.ui -o build/ui_dialog.h
build/ui_fileSelectorUI.h: ../common/ui/fileSelectorUI.ui
c:/Devel/Qt/4.4.0/bin/uic.exe ../common/ui/fileSelectorUI.ui -o build/ui_fileSelectorUI.h
compiler_yacc_decl_make_all:
compiler_yacc_decl_clean:
compiler_yacc_impl_make_all:
compiler_yacc_impl_clean:
compiler_lex_make_all:
compiler_lex_clean:
compiler_clean: compiler_moc_header_clean compiler_rcc_clean compiler_uic_clean
####### Compile
build/dialogimpl.o: src/dialogimpl.cpp src/dialogimpl.h \
build/ui_dialog.h \
build/ui_fileSelectorUI.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/dialogimpl.o src/dialogimpl.cpp
build/oaiimporter.o: src/oaiimporter.cpp src/oaiimporter.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/oaiimporter.o src/oaiimporter.cpp
build/main.o: src/main.cpp src/dialogimpl.h \
src/oaiimporter.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/main.o src/main.cpp
build/accesswriter.o: ../common/src/accesswriter.cpp ../common/src/accesswriter.h
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/accesswriter.o ../common/src/accesswriter.cpp
build/fileselector.o: ../common/src/fileselector.cpp ../common/src/fileselector.h \
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/fileselector.o ../common/src/fileselector.cpp
build/moc_dialogimpl.o: build/moc_dialogimpl.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_dialogimpl.o build/moc_dialogimpl.cpp
build/moc_fileselector.o: build/moc_fileselector.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_fileselector.o build/moc_fileselector.cpp
build/moc_accesswriter.o: build/moc_accesswriter.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_accesswriter.o build/moc_accesswriter.cpp
build/moc_oaiimporter.o: build/moc_oaiimporter.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/moc_oaiimporter.o build/moc_oaiimporter.cpp
build/qrc_misc.o: debug/qrc_misc.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qrc_misc.o debug/qrc_misc.cpp
####### Install
install: FORCE
uninstall: FORCE
210
211
DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT
CFLAGS = -O2 -Wall $(DEFINES)
CXXFLAGS = -O2 -Wall -frtti -fexceptions -mthreads $(DEFINES)
LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-subsystem,console -mthreads -Wl
LIBS = -L'c:/Devel/Qt/4.4.0/lib' build/rathenau_res.o -lQtSql4 -lQtXml4 -lQtGui4 -lQtCore4
release/qrc_misc.cpp
all: Makefile.Release $(DESTDIR_TARGET)
$(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.QaiXmlImporter.Release $(LIBS)
@$(QMAKE) -win32 -o Makefile.Release OaiXmlImporter.pro
$(ZIP) QaiXmlImporter.zip $(SOURCES) $(DIST) OaiXmlImporter.pro c:/Devel/Qt/4.4.0/mkspecs/qconfig.pri c:/Devel/Qt/4.4.0/mkspecs/features/qt_functions.prf c:/Devel/Qt/4.4.0/mkspecs/features/qt_config.prf c:/Devel/Qt/4.4.0/mkspecs/features/exclusive_builds.prf c:/Devel/Qt/4.4.0/mkspecs/features/default_pre.prf c:/Devel/Qt/4.4.0/mkspecs/features/win32/default_pre.prf c:/Devel/Qt/4.4.0/mkspecs/features/release.prf c:/Devel/Qt/4.4.0/mkspecs/features/debug_and_release.prf c:/Devel/Qt/4.4.0/mkspecs/features/default_post.prf c:/Devel/Qt/4.4.0/mkspecs/features/build_pass.prf c:/Devel/Qt/4.4.0/mkspecs/features/win32/console.prf c:/Devel/Qt/4.4.0/mkspecs/features/warn_on.prf c:/Devel/Qt/4.4.0/mkspecs/features/qt.prf c:/Devel/Qt/4.4.0/mkspecs/features/win32/thread.prf c:/Devel/Qt/4.4.0/mkspecs/features/moc.prf c:/Devel/Qt/4.4.0/mkspecs/features/win32/rtti.prf c:/Devel/Qt/4.4.0/mkspecs/features/win32/exceptions.prf c:/Devel/Qt/4.4.0/mkspecs/features/win32/stl.prf c:/Devel/Qt/4.4.0/mkspecs/features/shared.prf c:/Devel/Qt/4.4.0/mkspecs/features/resources.prf c:/Devel/Qt/4.4.0/mkspecs/features/uic.prf c:/Devel/Qt/4.4.0/mkspecs/features/yacc.prf c:/Devel/Qt/4.4.0/mkspecs/features/lex.prf HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES
-$(DEL_FILE) Makefile.Release
compiler_rcc_make_all: release/qrc_misc.cpp
-$(DEL_FILE) release/qrc_misc.cpp
release/qrc_misc.cpp: resources/miscresource/misc.qrc \
c:/Devel/Qt/4.4.0/bin/rcc.exe -name misc resources/miscresource/misc.qrc -o release/qrc_misc.cpp
build/qrc_misc.o: release/qrc_misc.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build/qrc_misc.o release/qrc_misc.cpp
TARGET = QaiXmlImporter
QT = gui core xml sql
CONFIG += qt warn_on console release
FORMS = ui/dialog.ui ui/fileSelectorUI.ui
HEADERS = src/dialogimpl.h src/fileselector.h src/accesswriter.h src/oaiimporter.h
src/fileselector.cpp
INPUT(
./build/dialogimpl.o
./build/oaiimporter.o
./build/main.o
./build/accesswriter.o
./build/fileselector.o
./build/moc_dialogimpl.o
./build/moc_fileselector.o
./build/moc_accesswriter.o
./build/moc_oaiimporter.o
./build/qrc_misc.o
);
#include "dialogimpl.h"
#include <QtDebug>
#include <QPushButton>
//
DialogImpl::DialogImpl( QWidget * parent, Qt::WFlags f)
: QDialog(parent, f), m_worker(0)
{
setupUi(this);
fsInput->setName("input");
fsInput->setMultipleFiles(true);
fsDatabase->setName("Database");
fsDatabase->setSaveDialog(true);
buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Start parsing"));
connect(buttonBox, SIGNAL(accepted()), SLOT(onStartParse()));
}
void DialogImpl::parseStarted() {
setEnabled(false);
void DialogImpl::parseFinished() {
setEnabled(true);
void DialogImpl::onStartParse() {
if (!m_worker)
return;
//by using Qt introspection methods instead of a direct way, we do not need
//to know anything about the worker except that it is a QObject, and the names
//of the properties and the slot. No header is included though.
//Downside is that we do not get warned if we change something in the worker
//object of course, and we get no type safety.
m_worker->setProperty("databaseFile", fsDatabase->fileName());
m_worker->setProperty("inputFiles", fsInput->fileNames());
qDebug() << QMetaObject::invokeMethod(m_worker, "startParse", Qt::AutoConnection);
void DialogImpl::setWorkerObject(QObject* worker) {
m_worker = worker;
connect(worker, SIGNAL(parseStarted()), SLOT(parseStarted()));
connect(worker, SIGNAL(ready()), SLOT(parseFinished()));
#ifndef DIALOGIMPL_H
#define DIALOGIMPL_H
#include <QDialog>
#include "ui_dialog.h"
class DialogImpl : public QDialog, public Ui::Dialog
Q_OBJECT
public:
DialogImpl( QWidget * parent = 0, Qt::WFlags f = 0 );
void setWorkerObject(QObject* worker);
public slots:
void parseStarted();
void parseFinished();
signals:
void startParse();
private slots:
void onStartParse();
private:
QObject* m_worker;
};
#endif
#include <QApplication>
#include "oaiimporter.h"
int main(int argc, char ** argv)
QApplication app( argc, argv );
app.setOrganizationName("Rathenau Instituut");
app.setOrganizationDomain("rathenau.nl");
app.setApplicationName("OaiXmlImporter");
app.setApplicationVersion(QString(__DATE__));
DialogImpl win;
win.show();
OaiImporter importer(&app);
win.setWorkerObject(&importer);
app.connect( &app, SIGNAL( lastWindowClosed() ), &app, SLOT( quit() ) );
app.connect( &win, SIGNAL( rejected() ), &app, SLOT( quit() ) );
return app.exec();
#ifndef OAIIMPORTER_H
#define OAIIMPORTER_H
#include <QObject>
#include <QStringList>
#include <QXmlStreamReader>
#include <QHash>
class AccessWriter;
class OaiImporter : public QObject
Q_PROPERTY (QString databaseFile READ databaseFile WRITE setDatabaseFile)
Q_PROPERTY (QStringList inputFiles READ inputFiles WRITE setInputFiles)
OaiImporter(QObject* parent = 0);
void setDatabaseFile(const QString& file) {m_dbFile = file;};
QString databaseFile() const {return m_dbFile;};
void setInputFiles(const QStringList& fileList) {m_inputFiles = fileList;};
void addInputFile(const QString& file) {m_inputFiles << file;};
QStringList inputFiles() const {return m_inputFiles;};
void ready();
void error(QString message, bool fatal);
void progressChangeFile(QString fileName);
private: //types
enum ProcessingFlag {
DoNotProcess = 0x0, /** Do not process this element */
Normal = 0x1, /** No special instructions */
TakeFirstOccurrence = 0x2, /** Always take the first occurrence of this element, ignore others */
ConcanateOccurrences = 0x4, /** Add occurrences of this element together */
Q_DECLARE_FLAGS(ProcessingFlags, ProcessingFlag)
private: //methods
bool setupOutput();
bool parseFile(const QString& fileName);
bool parseRecordData(QXmlStreamReader* xml, QHash<QString, QString>* data);
QString getDbConnection(const QString& fileName);
QHash<QString, QString> m_oneToOneTranslations;
QHash<QString, ProcessingFlags> m_processingFlags;
private: //members
QString m_dbFile;
QString m_lastDatabaseName;
QStringList m_inputFiles;
AccessWriter* m_writer;
Q_DECLARE_OPERATORS_FOR_FLAGS(OaiImporter::ProcessingFlags)
{fsInput->setName("input");fsDatabase->setName("Database");buttonBox->button(QDialogButtonBox::Ok)->setText(tr("Start parsing"));void DialogImpl::parseStarted() {void DialogImpl::parseFinished() {void DialogImpl::onStartParse() {m_worker->setProperty("databaseFile", fsDatabase->fileName());m_worker->setProperty("inputFiles", fsInput->fileNames());void DialogImpl::setWorkerObject(QObject* worker) {{{app.setOrganizationName("Rathenau Instituut");app.setOrganizationDomain("rathenau.nl");app.setApplicationName("OaiXmlImporter");{void setDatabaseFile(const QString& file) {m_dbFile = file;};QString databaseFile() const {return m_dbFile;};void setInputFiles(const QStringList& fileList) {m_inputFiles = fileList;};void addInputFile(const QString& file) {m_inputFiles << file;};QStringList inputFiles() const {return m_inputFiles;};enum ProcessingFlag {