From: Marcelo Barros de Almeida Date: Thu, 14 Jan 2010 09:08:48 +0000 (-0200) Subject: initial import X-Git-Url: http://vcs.maemo.org/git/?p=vym;a=commitdiff_plain;h=HEAD initial import --- diff --git a/INSTALL.txt b/INSTALL.txt new file mode 100644 index 0000000..b8a4100 --- /dev/null +++ b/INSTALL.txt @@ -0,0 +1,59 @@ +Installation of vym - view your mind +==================================== + +Contents +-------- + +A) openSUSE 10.2 +B) openSUSE 10.3 and 11.0 +C) Mac OS X 10.3+ + +More systems like Debian are likely to be added later. Please +send feedback about installation on your Operating System to +vym@InSilmaril.de + +For general questions please contact the vym mailinglist: + + vym-forum@lists.sourceforge.net + + +A) openSUSE 10.2 +================ + +vym needs a newer version of Trolltechs Qt libraries than the one on the +10.2 installation media. This new version can be installed easily in +YaST: + + - Select "Installation Source" + - Add a HTTP source: + Server: repos.opensuse.org + Directory: /KDE:/Qt/openSUSE_10.2/ + Authentication: Anonymous + + - Select "Software Management" + - Search for "libqt4" + - Install all found packages. (They have a version >= 4.3.0-55.1) + +B) openSUSE 10.2 and later +========================== + +Get the rpms e.g. from here: + +http://download.opensuse.org/repositories/home://insilmaril/ + +and install the (as root): + +yast -i vym-[VERSION].rpm + +C) Mac OS X 10.3+ +================= + +After opening the disk image vym-1.9.0.dmg you can copy vym.app to +/Applications. This will need administrator rights. + + +This release of vym includes the Qt libraries. For more information on +Qt see http://www.trolltech.com. + + + diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..5a9073b --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,307 @@ + VYM - View Your Mind + Copyright (C) 2004-2007 Uwe Drechsel + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as published by + the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License below for more details. + + In addition, as a special exception, Uwe Drechsel + gives permission to link the code of this program with the QT + libraries from trolltech.com (or with modified versions of QT that + use the same license as QT), and distribute linked combinations + including the two. You must obey the GNU General Public License in + all respects for all of the code used other than QT. If you modify + this file, you may extend this exception to your version of the + file, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. + + + Uwe Drechsel can be contacted at + +----------------------------------------------------------------------------- + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e52870a --- /dev/null +++ b/Makefile @@ -0,0 +1,1498 @@ +############################################################################# +# Makefile for building: vym +# Generated by qmake (2.01a) (Qt 4.5.3) on: Sun Jan 10 20:03:54 2010 +# Project: vym.pro +# Template: app +# Command: /usr/bin/qmake -unix -o Makefile vym.pro +############################################################################# + +####### Compiler, tools and options + +CC = gcc +CXX = g++ +DEFINES = -DVYM_DOCDIR=\"/usr/local/share/doc/packages/vym\" -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED +CFLAGS = -pipe -g -O0 -Wall -W -D_REENTRANT $(DEFINES) +CXXFLAGS = -pipe -g -g -O0 -Wall -W -D_REENTRANT $(DEFINES) +INCPATH = -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2 -I. -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtNetwork -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/qt4/QtXml -I/targets/FREMANTLE_ARMEL/usr/include/qt4/Qt3Support -I/targets/FREMANTLE_ARMEL/usr/include/qt4 -I. -I. +LINK = g++ +LFLAGS = +LIBS = $(SUBLIBS) -L/usr/lib -Wl,-rpath-link=/usr/lib -lQt3Support -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread +AR = ar cqs +RANLIB = +QMAKE = /usr/bin/qmake +TAR = tar -cf +COMPRESS = gzip -9f +COPY = cp -f +SED = sed +COPY_FILE = $(COPY) +COPY_DIR = $(COPY) -r +INSTALL_FILE = install -m 644 -p +INSTALL_DIR = $(COPY_DIR) +INSTALL_PROGRAM = install -m 755 -p +DEL_FILE = rm -f +SYMLINK = ln -sf +DEL_DIR = rmdir +MOVE = mv -f +CHK_DIR_EXISTS= test -d +MKDIR = mkdir -p + +####### Output directory + +OBJECTS_DIR = ./ + +####### Files + +SOURCES = aboutdialog.cpp \ + animpoint.cpp \ + attribute.cpp \ + attributedelegate.cpp \ + attributedialog.cpp \ + attributewidget.cpp \ + branchobj.cpp \ + branchpropwindow.cpp \ + editxlinkdialog.cpp \ + exportoofiledialog.cpp \ + exports.cpp \ + exportxhtmldialog.cpp \ + extrainfodialog.cpp \ + file.cpp \ + findwindow.cpp \ + flagobj.cpp \ + flagrowobj.cpp \ + floatimageobj.cpp \ + floatobj.cpp \ + frameobj.cpp \ + geometry.cpp \ + headingobj.cpp \ + highlighter.cpp \ + historywindow.cpp \ + imageobj.cpp \ + imports.cpp \ + linkablemapobj.cpp \ + main.cpp \ + mainwindow.cpp \ + mapcenterobj.cpp \ + mapeditor.cpp \ + mapobj.cpp \ + misc.cpp \ + noteobj.cpp \ + options.cpp \ + ornamentedobj.cpp \ + parser.cpp \ + process.cpp \ + selection.cpp \ + showtextdialog.cpp \ + simplescripteditor.cpp \ + texteditor.cpp \ + version.cpp \ + vymmodel.cpp \ + xlinkobj.cpp \ + xml-base.cpp \ + xml-vym.cpp \ + xml-freemind.cpp \ + xmlobj.cpp \ + xsltproc.cpp \ + settings.cpp \ + warningdialog.cpp moc_aboutdialog.cpp \ + moc_attributedelegate.cpp \ + moc_attributedialog.cpp \ + moc_attributewidget.cpp \ + moc_branchpropwindow.cpp \ + moc_editxlinkdialog.cpp \ + moc_exportoofiledialog.cpp \ + moc_exportxhtmldialog.cpp \ + moc_extrainfodialog.cpp \ + moc_findwindow.cpp \ + moc_highlighter.cpp \ + moc_historywindow.cpp \ + moc_linkablemapobj.cpp \ + moc_mainwindow.cpp \ + moc_mapeditor.cpp \ + moc_process.cpp \ + moc_showtextdialog.cpp \ + moc_simplescripteditor.cpp \ + moc_texteditor.cpp \ + moc_vymmodel.cpp \ + moc_warningdialog.cpp +OBJECTS = aboutdialog.o \ + animpoint.o \ + attribute.o \ + attributedelegate.o \ + attributedialog.o \ + attributewidget.o \ + branchobj.o \ + branchpropwindow.o \ + editxlinkdialog.o \ + exportoofiledialog.o \ + exports.o \ + exportxhtmldialog.o \ + extrainfodialog.o \ + file.o \ + findwindow.o \ + flagobj.o \ + flagrowobj.o \ + floatimageobj.o \ + floatobj.o \ + frameobj.o \ + geometry.o \ + headingobj.o \ + highlighter.o \ + historywindow.o \ + imageobj.o \ + imports.o \ + linkablemapobj.o \ + main.o \ + mainwindow.o \ + mapcenterobj.o \ + mapeditor.o \ + mapobj.o \ + misc.o \ + noteobj.o \ + options.o \ + ornamentedobj.o \ + parser.o \ + process.o \ + selection.o \ + showtextdialog.o \ + simplescripteditor.o \ + texteditor.o \ + version.o \ + vymmodel.o \ + xlinkobj.o \ + xml-base.o \ + xml-vym.o \ + xml-freemind.o \ + xmlobj.o \ + xsltproc.o \ + settings.o \ + warningdialog.o \ + moc_aboutdialog.o \ + moc_attributedelegate.o \ + moc_attributedialog.o \ + moc_attributewidget.o \ + moc_branchpropwindow.o \ + moc_editxlinkdialog.o \ + moc_exportoofiledialog.o \ + moc_exportxhtmldialog.o \ + moc_extrainfodialog.o \ + moc_findwindow.o \ + moc_highlighter.o \ + moc_historywindow.o \ + moc_linkablemapobj.o \ + moc_mainwindow.o \ + moc_mapeditor.o \ + moc_process.o \ + moc_showtextdialog.o \ + moc_simplescripteditor.o \ + moc_texteditor.o \ + moc_vymmodel.o \ + moc_warningdialog.o +DIST = /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/g++.conf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/debug.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \ + vym.pro +QMAKE_TARGET = vym +DESTDIR = +TARGET = vym + +first: all +####### Implicit rules + +.SUFFIXES: .o .c .cpp .cc .cxx .C + +.cpp.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" + +.cc.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" + +.cxx.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" + +.C.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" + +.c.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" + +####### Build rules + +all: Makefile $(TARGET) + +$(TARGET): ui_attributewidget.h ui_branchpropwindow.h ui_exportxhtmldialog.h ui_extrainfodialog.h ui_editxlinkdialog.h ui_historywindow.h ui_simplescripteditor.h ui_showtextdialog.h ui_warningdialog.h $(OBJECTS) + $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) + +Makefile: vym.pro /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-gles2/qmake.conf /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/g++.conf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/debug.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf \ + /targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf \ + /usr/lib/libQt3Support.prl \ + /usr/lib/libQtXml.prl \ + /usr/lib/libQtGui.prl \ + /usr/lib/libQtNetwork.prl \ + /usr/lib/libQtCore.prl + $(QMAKE) -unix -o Makefile vym.pro +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/g++.conf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/unix.conf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/common/linux.conf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/qconfig.pri: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_functions.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt_config.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/exclusive_builds.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_pre.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/debug.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/default_post.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/warn_on.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/qt.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/unix/thread.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/moc.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/resources.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/uic.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/yacc.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/lex.prf: +/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/features/include_source_dir.prf: +/usr/lib/libQt3Support.prl: +/usr/lib/libQtXml.prl: +/usr/lib/libQtGui.prl: +/usr/lib/libQtNetwork.prl: +/usr/lib/libQtCore.prl: +qmake: FORCE + @$(QMAKE) -unix -o Makefile vym.pro + +dist: + @$(CHK_DIR_EXISTS) .tmp/vym1.0.0 || $(MKDIR) .tmp/vym1.0.0 + $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/vym1.0.0/ && $(COPY_FILE) --parents aboutdialog.h animpoint.h attribute.h attributedelegate.h attributedialog.h attributewidget.h branchobj.h branchpropwindow.h editxlinkdialog.h exportoofiledialog.h exportxhtmldialog.h exports.h extrainfodialog.h file.h findwindow.h flagobj.h flagrowobj.h floatimageobj.h floatobj.h frameobj.h geometry.h headingobj.h highlighter.h historywindow.h imageobj.h imports.h linkablemapobj.h mainwindow.h mapcenterobj.h mapeditor.h mapobj.h misc.h noteobj.h options.h ornamentedobj.h parser.h process.h selection.h showtextdialog.h simplescripteditor.h texteditor.h version.h vymmodel.h xlinkobj.h xml-base.h xml-vym.h xml-freemind.h xmlobj.h xsltproc.h settings.h warningdialog.h .tmp/vym1.0.0/ && $(COPY_FILE) --parents aboutdialog.cpp animpoint.cpp attribute.cpp attributedelegate.cpp attributedialog.cpp attributewidget.cpp branchobj.cpp branchpropwindow.cpp editxlinkdialog.cpp exportoofiledialog.cpp exports.cpp exportxhtmldialog.cpp extrainfodialog.cpp file.cpp findwindow.cpp flagobj.cpp flagrowobj.cpp floatimageobj.cpp floatobj.cpp frameobj.cpp geometry.cpp headingobj.cpp highlighter.cpp historywindow.cpp imageobj.cpp imports.cpp linkablemapobj.cpp main.cpp mainwindow.cpp mapcenterobj.cpp mapeditor.cpp mapobj.cpp misc.cpp noteobj.cpp options.cpp ornamentedobj.cpp parser.cpp process.cpp selection.cpp showtextdialog.cpp simplescripteditor.cpp texteditor.cpp version.cpp vymmodel.cpp xlinkobj.cpp xml-base.cpp xml-vym.cpp xml-freemind.cpp xmlobj.cpp xsltproc.cpp settings.cpp warningdialog.cpp .tmp/vym1.0.0/ && $(COPY_FILE) --parents attributewidget.ui branchpropwindow.ui exportxhtmldialog.ui extrainfodialog.ui editxlinkdialog.ui historywindow.ui simplescripteditor.ui showtextdialog.ui warningdialog.ui .tmp/vym1.0.0/ && $(COPY_FILE) --parents lang/vym_de.ts lang/vym_en.ts lang/vym_es.ts lang/vym_fr.ts lang/vym_it.ts lang/vym_pt_BR.ts lang/vym_ru.ts lang/vym_zh_CN.ts .tmp/vym1.0.0/ && (cd `dirname .tmp/vym1.0.0` && $(TAR) vym1.0.0.tar vym1.0.0 && $(COMPRESS) vym1.0.0.tar) && $(MOVE) `dirname .tmp/vym1.0.0`/vym1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/vym1.0.0 + + +clean:compiler_clean + -$(DEL_FILE) $(OBJECTS) + -$(DEL_FILE) *~ core *.core + + +####### Sub-libraries + +distclean: clean + -$(DEL_FILE) $(TARGET) + -$(DEL_FILE) Makefile + + +mocclean: compiler_moc_header_clean compiler_moc_source_clean + +mocables: compiler_moc_header_make_all compiler_moc_source_make_all + +compiler_moc_header_make_all: moc_aboutdialog.cpp moc_attributedelegate.cpp moc_attributedialog.cpp moc_attributewidget.cpp moc_branchpropwindow.cpp moc_editxlinkdialog.cpp moc_exportoofiledialog.cpp moc_exportxhtmldialog.cpp moc_extrainfodialog.cpp moc_findwindow.cpp moc_highlighter.cpp moc_historywindow.cpp moc_linkablemapobj.cpp moc_mainwindow.cpp moc_mapeditor.cpp moc_process.cpp moc_showtextdialog.cpp moc_simplescripteditor.cpp moc_texteditor.cpp moc_vymmodel.cpp moc_warningdialog.cpp +compiler_moc_header_clean: + -$(DEL_FILE) moc_aboutdialog.cpp moc_attributedelegate.cpp moc_attributedialog.cpp moc_attributewidget.cpp moc_branchpropwindow.cpp moc_editxlinkdialog.cpp moc_exportoofiledialog.cpp moc_exportxhtmldialog.cpp moc_extrainfodialog.cpp moc_findwindow.cpp moc_highlighter.cpp moc_historywindow.cpp moc_linkablemapobj.cpp moc_mainwindow.cpp moc_mapeditor.cpp moc_process.cpp moc_showtextdialog.cpp moc_simplescripteditor.cpp moc_texteditor.cpp moc_vymmodel.cpp moc_warningdialog.cpp +moc_aboutdialog.cpp: aboutdialog.h + /usr/bin/moc $(DEFINES) $(INCPATH) aboutdialog.h -o moc_aboutdialog.cpp + +moc_attributedelegate.cpp: attribute.h \ + xmlobj.h \ + attributedelegate.h + /usr/bin/moc $(DEFINES) $(INCPATH) attributedelegate.h -o moc_attributedelegate.cpp + +moc_attributedialog.cpp: attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + attributedialog.h + /usr/bin/moc $(DEFINES) $(INCPATH) attributedialog.h -o moc_attributedialog.cpp + +moc_attributewidget.cpp: ui_attributewidget.h \ + attribute.h \ + xmlobj.h \ + attributewidget.h + /usr/bin/moc $(DEFINES) $(INCPATH) attributewidget.h -o moc_attributewidget.cpp + +moc_branchpropwindow.cpp: ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + branchpropwindow.h + /usr/bin/moc $(DEFINES) $(INCPATH) branchpropwindow.h -o moc_branchpropwindow.cpp + +moc_editxlinkdialog.cpp: ui_editxlinkdialog.h \ + editxlinkdialog.h + /usr/bin/moc $(DEFINES) $(INCPATH) editxlinkdialog.h -o moc_editxlinkdialog.cpp + +moc_exportoofiledialog.cpp: settings.h \ + xmlobj.h \ + exportoofiledialog.h + /usr/bin/moc $(DEFINES) $(INCPATH) exportoofiledialog.h -o moc_exportoofiledialog.cpp + +moc_exportxhtmldialog.cpp: ui_exportxhtmldialog.h \ + exportxhtmldialog.h + /usr/bin/moc $(DEFINES) $(INCPATH) exportxhtmldialog.h -o moc_exportxhtmldialog.cpp + +moc_extrainfodialog.cpp: ui_extrainfodialog.h \ + extrainfodialog.h + /usr/bin/moc $(DEFINES) $(INCPATH) extrainfodialog.h -o moc_extrainfodialog.cpp + +moc_findwindow.cpp: findwindow.h + /usr/bin/moc $(DEFINES) $(INCPATH) findwindow.h -o moc_findwindow.cpp + +moc_highlighter.cpp: highlighter.h + /usr/bin/moc $(DEFINES) $(INCPATH) highlighter.h -o moc_highlighter.cpp + +moc_historywindow.cpp: settings.h \ + xmlobj.h \ + ui_historywindow.h \ + historywindow.h + /usr/bin/moc $(DEFINES) $(INCPATH) historywindow.h -o moc_historywindow.cpp + +moc_linkablemapobj.cpp: animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + linkablemapobj.h + /usr/bin/moc $(DEFINES) $(INCPATH) linkablemapobj.h -o moc_linkablemapobj.cpp + +moc_mainwindow.cpp: branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + mainwindow.h + /usr/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp + +moc_mapeditor.cpp: attribute.h \ + xmlobj.h \ + file.h \ + misc.h \ + parser.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + xlinkobj.h \ + mapeditor.h \ + mapeditor.h + /usr/bin/moc $(DEFINES) $(INCPATH) mapeditor.h -o moc_mapeditor.cpp + +moc_process.cpp: process.h + /usr/bin/moc $(DEFINES) $(INCPATH) process.h -o moc_process.cpp + +moc_showtextdialog.cpp: ui_showtextdialog.h \ + showtextdialog.h + /usr/bin/moc $(DEFINES) $(INCPATH) showtextdialog.h -o moc_showtextdialog.cpp + +moc_simplescripteditor.cpp: ui_simplescripteditor.h \ + highlighter.h \ + simplescripteditor.h + /usr/bin/moc $(DEFINES) $(INCPATH) simplescripteditor.h -o moc_simplescripteditor.cpp + +moc_texteditor.cpp: texteditor.h + /usr/bin/moc $(DEFINES) $(INCPATH) texteditor.h -o moc_texteditor.cpp + +moc_vymmodel.cpp: mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + vymmodel.h + /usr/bin/moc $(DEFINES) $(INCPATH) vymmodel.h -o moc_vymmodel.cpp + +moc_warningdialog.cpp: ui_warningdialog.h \ + warningdialog.h + /usr/bin/moc $(DEFINES) $(INCPATH) warningdialog.h -o moc_warningdialog.cpp + +compiler_rcc_make_all: +compiler_rcc_clean: +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: ui_attributewidget.h ui_branchpropwindow.h ui_exportxhtmldialog.h ui_extrainfodialog.h ui_editxlinkdialog.h ui_historywindow.h ui_simplescripteditor.h ui_showtextdialog.h ui_warningdialog.h +compiler_uic_clean: + -$(DEL_FILE) ui_attributewidget.h ui_branchpropwindow.h ui_exportxhtmldialog.h ui_extrainfodialog.h ui_editxlinkdialog.h ui_historywindow.h ui_simplescripteditor.h ui_showtextdialog.h ui_warningdialog.h +ui_attributewidget.h: attributewidget.ui + /usr/bin/uic attributewidget.ui -o ui_attributewidget.h + +ui_branchpropwindow.h: branchpropwindow.ui + /usr/bin/uic branchpropwindow.ui -o ui_branchpropwindow.h + +ui_exportxhtmldialog.h: exportxhtmldialog.ui \ + xsltproc.h \ + process.h \ + showtextdialog.h \ + ui_showtextdialog.h + /usr/bin/uic exportxhtmldialog.ui -o ui_exportxhtmldialog.h + +ui_extrainfodialog.h: extrainfodialog.ui + /usr/bin/uic extrainfodialog.ui -o ui_extrainfodialog.h + +ui_editxlinkdialog.h: editxlinkdialog.ui \ + xlinkobj.h \ + mapcenterobj.h \ + linkablemapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h + /usr/bin/uic editxlinkdialog.ui -o ui_editxlinkdialog.h + +ui_historywindow.h: historywindow.ui + /usr/bin/uic historywindow.ui -o ui_historywindow.h + +ui_simplescripteditor.h: simplescripteditor.ui + /usr/bin/uic simplescripteditor.ui -o ui_simplescripteditor.h + +ui_showtextdialog.h: showtextdialog.ui + /usr/bin/uic showtextdialog.ui -o ui_showtextdialog.h + +ui_warningdialog.h: warningdialog.ui + /usr/bin/uic warningdialog.ui -o ui_warningdialog.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_uic_clean + +####### Compile + +aboutdialog.o: aboutdialog.cpp aboutdialog.h \ + settings.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o aboutdialog.o aboutdialog.cpp + +animpoint.o: animpoint.cpp animpoint.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o animpoint.o animpoint.cpp + +attribute.o: attribute.cpp attribute.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o attribute.o attribute.cpp + +attributedelegate.o: attributedelegate.cpp attributedelegate.h \ + attribute.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o attributedelegate.o attributedelegate.cpp + +attributedialog.o: attributedialog.cpp attributedialog.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + attributewidget.h \ + ui_attributewidget.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o attributedialog.o attributedialog.cpp + +attributewidget.o: attributewidget.cpp attributewidget.h \ + ui_attributewidget.h \ + attribute.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o attributewidget.o attributewidget.cpp + +branchobj.o: branchobj.cpp branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + geometry.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o branchobj.o branchobj.cpp + +branchpropwindow.o: branchpropwindow.cpp branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o branchpropwindow.o branchpropwindow.cpp + +editxlinkdialog.o: editxlinkdialog.cpp editxlinkdialog.h \ + ui_editxlinkdialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o editxlinkdialog.o editxlinkdialog.cpp + +exportoofiledialog.o: exportoofiledialog.cpp exportoofiledialog.h \ + settings.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o exportoofiledialog.o exportoofiledialog.cpp + +exports.o: exports.cpp exports.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + settings.h \ + vymmodel.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + warningdialog.h \ + ui_warningdialog.h \ + xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o exports.o exports.cpp + +exportxhtmldialog.o: exportxhtmldialog.cpp exportxhtmldialog.h \ + ui_exportxhtmldialog.h \ + options.h \ + settings.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o exportxhtmldialog.o exportxhtmldialog.cpp + +extrainfodialog.o: extrainfodialog.cpp extrainfodialog.h \ + ui_extrainfodialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o extrainfodialog.o extrainfodialog.cpp + +file.o: file.cpp file.h \ + process.h \ + mkdtemp.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o file.o file.cpp + +findwindow.o: findwindow.cpp findwindow.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o findwindow.o findwindow.cpp + +flagobj.o: flagobj.cpp flagobj.h \ + mapobj.h \ + xmlobj.h \ + imageobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o flagobj.o flagobj.cpp + +flagrowobj.o: flagrowobj.cpp flagrowobj.h \ + mapobj.h \ + xmlobj.h \ + flagobj.h \ + imageobj.h \ + geometry.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o flagrowobj.o flagrowobj.cpp + +floatimageobj.o: floatimageobj.cpp floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + branchobj.h \ + xlinkobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o floatimageobj.o floatimageobj.cpp + +floatobj.o: floatobj.cpp floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o floatobj.o floatobj.cpp + +frameobj.o: frameobj.cpp frameobj.h \ + mapobj.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o frameobj.o frameobj.cpp + +geometry.o: geometry.cpp geometry.h \ + misc.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o geometry.o geometry.cpp + +headingobj.o: headingobj.cpp headingobj.h \ + mapobj.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o headingobj.o headingobj.cpp + +highlighter.o: highlighter.cpp highlighter.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o highlighter.o highlighter.cpp + +historywindow.o: historywindow.cpp historywindow.h \ + settings.h \ + xmlobj.h \ + ui_historywindow.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o historywindow.o historywindow.cpp + +imageobj.o: imageobj.cpp imageobj.h \ + mapobj.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o imageobj.o imageobj.cpp + +imports.o: imports.cpp file.h \ + imports.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + settings.h \ + misc.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + mapeditor.h \ + parser.h \ + selection.h \ + vymmodel.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o imports.o imports.cpp + +linkablemapobj.o: linkablemapobj.cpp linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + frameobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o linkablemapobj.o linkablemapobj.cpp + +main.o: main.cpp flagrowobj.h \ + mapobj.h \ + xmlobj.h \ + flagobj.h \ + imageobj.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + options.h \ + version.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp + +mainwindow.o: mainwindow.cpp mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + aboutdialog.h \ + exportoofiledialog.h \ + exports.h \ + imports.h \ + options.h \ + process.h \ + warningdialog.h \ + ui_warningdialog.h \ + attributedialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp + +mapcenterobj.o: mapcenterobj.cpp floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + geometry.h \ + mapcenterobj.h \ + branchobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mapcenterobj.o mapcenterobj.cpp + +mapeditor.o: mapeditor.cpp mapeditor.h \ + attribute.h \ + xmlobj.h \ + file.h \ + misc.h \ + parser.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + xlinkobj.h \ + editxlinkdialog.h \ + ui_editxlinkdialog.h \ + exports.h \ + exportxhtmldialog.h \ + ui_exportxhtmldialog.h \ + extrainfodialog.h \ + ui_extrainfodialog.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + warningdialog.h \ + ui_warningdialog.h \ + xml-freemind.h \ + xml-base.h \ + xml-vym.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mapeditor.o mapeditor.cpp + +mapobj.o: mapobj.cpp mapobj.h \ + xmlobj.h \ + misc.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mapobj.o mapobj.cpp + +misc.o: misc.cpp misc.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o misc.o misc.cpp + +noteobj.o: noteobj.cpp noteobj.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o noteobj.o noteobj.cpp + +options.o: options.cpp options.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o options.o options.cpp + +ornamentedobj.o: ornamentedobj.cpp ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + texteditor.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + xlinkobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ornamentedobj.o ornamentedobj.cpp + +parser.o: parser.cpp parser.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o parser.o parser.cpp + +process.o: process.cpp process.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o process.o process.cpp + +selection.o: selection.cpp selection.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o selection.o selection.cpp + +showtextdialog.o: showtextdialog.cpp showtextdialog.h \ + ui_showtextdialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o showtextdialog.o showtextdialog.cpp + +simplescripteditor.o: simplescripteditor.cpp simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o simplescripteditor.o simplescripteditor.cpp + +texteditor.o: texteditor.cpp texteditor.h \ + noteobj.h \ + xmlobj.h \ + settings.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o texteditor.o texteditor.cpp + +version.o: version.cpp version.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o version.o version.cpp + +vymmodel.o: vymmodel.cpp geometry.h \ + vymmodel.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o vymmodel.o vymmodel.cpp + +xlinkobj.o: xlinkobj.cpp xlinkobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + frameobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o xlinkobj.o xlinkobj.cpp + +xml-base.o: xml-base.cpp xml-base.h \ + file.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o xml-base.o xml-base.cpp + +xml-vym.o: xml-vym.cpp xml-vym.h \ + xml-base.h \ + file.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + version.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o xml-vym.o xml-vym.cpp + +xml-freemind.o: xml-freemind.cpp xml-freemind.h \ + xml-base.h \ + file.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + version.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o xml-freemind.o xml-freemind.cpp + +xmlobj.o: xmlobj.cpp xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o xmlobj.o xmlobj.cpp + +xsltproc.o: xsltproc.cpp xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h \ + process.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o xsltproc.o xsltproc.cpp + +settings.o: settings.cpp settings.h \ + xmlobj.h \ + file.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o settings.o settings.cpp + +warningdialog.o: warningdialog.cpp warningdialog.h \ + ui_warningdialog.h \ + settings.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o warningdialog.o warningdialog.cpp + +moc_aboutdialog.o: moc_aboutdialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_aboutdialog.o moc_aboutdialog.cpp + +moc_attributedelegate.o: moc_attributedelegate.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_attributedelegate.o moc_attributedelegate.cpp + +moc_attributedialog.o: moc_attributedialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_attributedialog.o moc_attributedialog.cpp + +moc_attributewidget.o: moc_attributewidget.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_attributewidget.o moc_attributewidget.cpp + +moc_branchpropwindow.o: moc_branchpropwindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_branchpropwindow.o moc_branchpropwindow.cpp + +moc_editxlinkdialog.o: moc_editxlinkdialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_editxlinkdialog.o moc_editxlinkdialog.cpp + +moc_exportoofiledialog.o: moc_exportoofiledialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_exportoofiledialog.o moc_exportoofiledialog.cpp + +moc_exportxhtmldialog.o: moc_exportxhtmldialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_exportxhtmldialog.o moc_exportxhtmldialog.cpp + +moc_extrainfodialog.o: moc_extrainfodialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_extrainfodialog.o moc_extrainfodialog.cpp + +moc_findwindow.o: moc_findwindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_findwindow.o moc_findwindow.cpp + +moc_highlighter.o: moc_highlighter.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_highlighter.o moc_highlighter.cpp + +moc_historywindow.o: moc_historywindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_historywindow.o moc_historywindow.cpp + +moc_linkablemapobj.o: moc_linkablemapobj.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_linkablemapobj.o moc_linkablemapobj.cpp + +moc_mainwindow.o: moc_mainwindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp + +moc_mapeditor.o: moc_mapeditor.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mapeditor.o moc_mapeditor.cpp + +moc_process.o: moc_process.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_process.o moc_process.cpp + +moc_showtextdialog.o: moc_showtextdialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_showtextdialog.o moc_showtextdialog.cpp + +moc_simplescripteditor.o: moc_simplescripteditor.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_simplescripteditor.o moc_simplescripteditor.cpp + +moc_texteditor.o: moc_texteditor.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_texteditor.o moc_texteditor.cpp + +moc_vymmodel.o: moc_vymmodel.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_vymmodel.o moc_vymmodel.cpp + +moc_warningdialog.o: moc_warningdialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_warningdialog.o moc_warningdialog.cpp + +####### Install + +install_target: first FORCE + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/bin/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/bin/ + -$(INSTALL_PROGRAM) "$(QMAKE_TARGET)" "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)" + +uninstall_target: FORCE + -$(DEL_FILE) "$(INSTALL_ROOT)/usr/local/bin/$(QMAKE_TARGET)" + -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/bin/ + + +install_support: first FORCE + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/vym/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/vym/ + -$(INSTALL_DIR) /home/marcelo/workspaceqt/vym-1.12.2/styles $(INSTALL_ROOT)/usr/local/share/vym/ + -$(INSTALL_DIR) /home/marcelo/workspaceqt/vym-1.12.2/scripts $(INSTALL_ROOT)/usr/local/share/vym/ + -$(INSTALL_DIR) /home/marcelo/workspaceqt/vym-1.12.2/icons $(INSTALL_ROOT)/usr/local/share/vym/ + -$(INSTALL_DIR) /home/marcelo/workspaceqt/vym-1.12.2/flags $(INSTALL_ROOT)/usr/local/share/vym/ + -$(INSTALL_DIR) /home/marcelo/workspaceqt/vym-1.12.2/lang $(INSTALL_ROOT)/usr/local/share/vym/ + -$(INSTALL_DIR) /home/marcelo/workspaceqt/vym-1.12.2/macros $(INSTALL_ROOT)/usr/local/share/vym/ + -$(INSTALL_DIR) /home/marcelo/workspaceqt/vym-1.12.2/exports $(INSTALL_ROOT)/usr/local/share/vym/ + -$(INSTALL_DIR) /home/marcelo/workspaceqt/vym-1.12.2/demos $(INSTALL_ROOT)/usr/local/share/vym/ + + +uninstall_support: FORCE + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/vym/styles + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/vym/scripts + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/vym/icons + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/vym/flags + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/vym/lang + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/vym/macros + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/vym/exports + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/vym/demos + -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/vym/ + + +install_doc: first FORCE + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/local/share/doc/packages/vym/ || $(MKDIR) $(INSTALL_ROOT)/usr/local/share/doc/packages/vym/ + -$(INSTALL_FILE) /home/marcelo/workspaceqt/vym-1.12.2/doc/vym.pdf $(INSTALL_ROOT)/usr/local/share/doc/packages/vym/ + + +uninstall_doc: FORCE + -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/local/share/doc/packages/vym/vym.pdf + -$(DEL_DIR) $(INSTALL_ROOT)/usr/local/share/doc/packages/vym/ + + +install: install_target install_support install_doc FORCE + +uninstall: uninstall_target uninstall_support uninstall_doc FORCE + +FORCE: + diff --git a/Makefile.Debug b/Makefile.Debug new file mode 100644 index 0000000..70c05bb --- /dev/null +++ b/Makefile.Debug @@ -0,0 +1,1477 @@ +############################################################################# +# Makefile for building: vym +# Generated by qmake (2.01a) (Qt 4.5.0) on: sáb 24. out 08:26:40 2009 +# Project: vym.pro +# Template: app +############################################################################# + +####### Compiler, tools and options + +CC = gcc +CXX = g++ +DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -D_USE_MATH_DEFINES -DVYM_DOCDIR=\"/usr/local/share/doc/packages/vym\" -DQT_DLL -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN +CFLAGS = -g -Wall $(DEFINES) +CXXFLAGS = -g -Wall -frtti -fexceptions -mthreads $(DEFINES) +INCPATH = -I"..\Qt\2009.01\qt\include\QtCore" -I"..\Qt\2009.01\qt\include\QtNetwork" -I"..\Qt\2009.01\qt\include\QtGui" -I"..\Qt\2009.01\qt\include\QtXml" -I"..\Qt\2009.01\qt\include\Qt3Support" -I"..\Qt\2009.01\qt\include" -I"..\Qt\2009.01\qt\include\ActiveQt" -I"debug" -I"." -I"..\Qt\2009.01\qt\mkspecs\win32-g++" +LINK = g++ +LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows +LIBS = -L"c:\Qt\2009.01\qt\lib" -lmingw32 -lqtmaind debug\vym_res.o -lQt3Supportd4 -lQtXmld4 -lQtGuid4 -lQtNetworkd4 -lQtCored4 +QMAKE = c:\Qt\2009.01\qt\bin\qmake.exe +IDC = c:\Qt\2009.01\qt\bin\idc.exe +IDL = midl +ZIP = zip -r -9 +DEF_FILE = +RES_FILE = debug\vym_res.o +COPY = copy /y +COPY_FILE = $(COPY) +COPY_DIR = xcopy /s /q /y /i +DEL_FILE = del +DEL_DIR = rmdir +MOVE = move +CHK_DIR_EXISTS= if not exist +MKDIR = mkdir +INSTALL_FILE = $(COPY_FILE) +INSTALL_PROGRAM = $(COPY_FILE) +INSTALL_DIR = $(COPY_DIR) + +####### Output directory + +OBJECTS_DIR = debug + +####### Files + +SOURCES = aboutdialog.cpp \ + animpoint.cpp \ + attribute.cpp \ + attributedelegate.cpp \ + attributedialog.cpp \ + attributewidget.cpp \ + branchobj.cpp \ + branchpropwindow.cpp \ + editxlinkdialog.cpp \ + exportoofiledialog.cpp \ + exports.cpp \ + exportxhtmldialog.cpp \ + extrainfodialog.cpp \ + file.cpp \ + findwindow.cpp \ + flagobj.cpp \ + flagrowobj.cpp \ + floatimageobj.cpp \ + floatobj.cpp \ + frameobj.cpp \ + geometry.cpp \ + headingobj.cpp \ + highlighter.cpp \ + historywindow.cpp \ + imageobj.cpp \ + imports.cpp \ + linkablemapobj.cpp \ + main.cpp \ + mainwindow.cpp \ + mapcenterobj.cpp \ + mapeditor.cpp \ + mapobj.cpp \ + misc.cpp \ + noteobj.cpp \ + options.cpp \ + ornamentedobj.cpp \ + parser.cpp \ + process.cpp \ + selection.cpp \ + showtextdialog.cpp \ + simplescripteditor.cpp \ + texteditor.cpp \ + version.cpp \ + vymmodel.cpp \ + xlinkobj.cpp \ + xml-base.cpp \ + xml-vym.cpp \ + xml-freemind.cpp \ + xmlobj.cpp \ + xsltproc.cpp \ + settings.cpp \ + warningdialog.cpp \ + mkdtemp.cpp debug\moc_aboutdialog.cpp \ + debug\moc_attributedelegate.cpp \ + debug\moc_attributedialog.cpp \ + debug\moc_attributewidget.cpp \ + debug\moc_branchpropwindow.cpp \ + debug\moc_editxlinkdialog.cpp \ + debug\moc_exportoofiledialog.cpp \ + debug\moc_exportxhtmldialog.cpp \ + debug\moc_extrainfodialog.cpp \ + debug\moc_findwindow.cpp \ + debug\moc_highlighter.cpp \ + debug\moc_historywindow.cpp \ + debug\moc_linkablemapobj.cpp \ + debug\moc_mainwindow.cpp \ + debug\moc_mapeditor.cpp \ + debug\moc_process.cpp \ + debug\moc_showtextdialog.cpp \ + debug\moc_simplescripteditor.cpp \ + debug\moc_texteditor.cpp \ + debug\moc_vymmodel.cpp \ + debug\moc_warningdialog.cpp +OBJECTS = debug/aboutdialog.o \ + debug/animpoint.o \ + debug/attribute.o \ + debug/attributedelegate.o \ + debug/attributedialog.o \ + debug/attributewidget.o \ + debug/branchobj.o \ + debug/branchpropwindow.o \ + debug/editxlinkdialog.o \ + debug/exportoofiledialog.o \ + debug/exports.o \ + debug/exportxhtmldialog.o \ + debug/extrainfodialog.o \ + debug/file.o \ + debug/findwindow.o \ + debug/flagobj.o \ + debug/flagrowobj.o \ + debug/floatimageobj.o \ + debug/floatobj.o \ + debug/frameobj.o \ + debug/geometry.o \ + debug/headingobj.o \ + debug/highlighter.o \ + debug/historywindow.o \ + debug/imageobj.o \ + debug/imports.o \ + debug/linkablemapobj.o \ + debug/main.o \ + debug/mainwindow.o \ + debug/mapcenterobj.o \ + debug/mapeditor.o \ + debug/mapobj.o \ + debug/misc.o \ + debug/noteobj.o \ + debug/options.o \ + debug/ornamentedobj.o \ + debug/parser.o \ + debug/process.o \ + debug/selection.o \ + debug/showtextdialog.o \ + debug/simplescripteditor.o \ + debug/texteditor.o \ + debug/version.o \ + debug/vymmodel.o \ + debug/xlinkobj.o \ + debug/xml-base.o \ + debug/xml-vym.o \ + debug/xml-freemind.o \ + debug/xmlobj.o \ + debug/xsltproc.o \ + debug/settings.o \ + debug/warningdialog.o \ + debug/mkdtemp.o \ + debug/moc_aboutdialog.o \ + debug/moc_attributedelegate.o \ + debug/moc_attributedialog.o \ + debug/moc_attributewidget.o \ + debug/moc_branchpropwindow.o \ + debug/moc_editxlinkdialog.o \ + debug/moc_exportoofiledialog.o \ + debug/moc_exportxhtmldialog.o \ + debug/moc_extrainfodialog.o \ + debug/moc_findwindow.o \ + debug/moc_highlighter.o \ + debug/moc_historywindow.o \ + debug/moc_linkablemapobj.o \ + debug/moc_mainwindow.o \ + debug/moc_mapeditor.o \ + debug/moc_process.o \ + debug/moc_showtextdialog.o \ + debug/moc_simplescripteditor.o \ + debug/moc_texteditor.o \ + debug/moc_vymmodel.o \ + debug/moc_warningdialog.o +DIST = +QMAKE_TARGET = vym +DESTDIR = debug\ #avoid trailing-slash linebreak +TARGET = vym.exe +DESTDIR_TARGET = debug\vym.exe + +####### Implicit rules + +.SUFFIXES: .cpp .cc .cxx .c + +.cpp.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cc.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cxx.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.c.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< + +####### Build rules + +first: all +all: Makefile.Debug $(DESTDIR_TARGET) + +$(DESTDIR_TARGET): ui_attributewidget.h ui_branchpropwindow.h ui_exportxhtmldialog.h ui_extrainfodialog.h ui_editxlinkdialog.h ui_historywindow.h ui_simplescripteditor.h ui_showtextdialog.h ui_warningdialog.h $(OBJECTS) debug/vym_res.o + $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.vym.Debug $(LIBS) + + +debug/vym_res.o: vym.rc + windres -i vym.rc -o debug\vym_res.o --include-dir=. + +qmake: FORCE + @$(QMAKE) -spec ..\Qt\2009.01\qt\mkspecs\win32-g++ -win32 -o Makefile.Debug vym.pro + +dist: + $(ZIP) vym.zip $(SOURCES) $(DIST) vym.pro ..\Qt\2009.01\qt\mkspecs\qconfig.pri ..\Qt\2009.01\qt\mkspecs\features\qt_functions.prf ..\Qt\2009.01\qt\mkspecs\features\qt_config.prf ..\Qt\2009.01\qt\mkspecs\features\exclusive_builds.prf ..\Qt\2009.01\qt\mkspecs\features\default_pre.prf ..\Qt\2009.01\qt\mkspecs\features\win32\default_pre.prf ..\Qt\2009.01\qt\mkspecs\features\debug.prf ..\Qt\2009.01\qt\mkspecs\features\debug_and_release.prf ..\Qt\2009.01\qt\mkspecs\features\default_post.prf ..\Qt\2009.01\qt\mkspecs\features\win32\default_post.prf ..\Qt\2009.01\qt\mkspecs\features\build_pass.prf ..\Qt\2009.01\qt\mkspecs\features\win32\embed_manifest_exe.prf ..\Qt\2009.01\qt\mkspecs\features\warn_on.prf ..\Qt\2009.01\qt\mkspecs\features\qt.prf ..\Qt\2009.01\qt\mkspecs\features\win32\thread.prf ..\Qt\2009.01\qt\mkspecs\features\moc.prf ..\Qt\2009.01\qt\mkspecs\features\win32\rtti.prf ..\Qt\2009.01\qt\mkspecs\features\win32\exceptions.prf ..\Qt\2009.01\qt\mkspecs\features\win32\stl.prf ..\Qt\2009.01\qt\mkspecs\features\shared.prf ..\Qt\2009.01\qt\mkspecs\features\win32\windows.prf ..\Qt\2009.01\qt\mkspecs\features\resources.prf ..\Qt\2009.01\qt\mkspecs\features\uic.prf ..\Qt\2009.01\qt\mkspecs\features\yacc.prf ..\Qt\2009.01\qt\mkspecs\features\lex.prf c:\Qt\2009.01\qt\lib\qtmaind.prl lang\vym_de.ts lang\vym_en.ts lang\vym_es.ts lang\vym_fr.ts lang\vym_it.ts lang\vym_pt_BR.ts lang\vym_ru.ts lang\vym_zh_CN.ts lang\vym_de.ts lang\vym_en.ts lang\vym_es.ts lang\vym_fr.ts lang\vym_it.ts lang\vym_pt_BR.ts lang\vym_ru.ts lang\vym_zh_CN.ts HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES + +clean: compiler_clean + -$(DEL_FILE) debug\aboutdialog.o debug\animpoint.o debug\attribute.o debug\attributedelegate.o debug\attributedialog.o debug\attributewidget.o debug\branchobj.o debug\branchpropwindow.o debug\editxlinkdialog.o debug\exportoofiledialog.o debug\exports.o debug\exportxhtmldialog.o debug\extrainfodialog.o debug\file.o debug\findwindow.o debug\flagobj.o debug\flagrowobj.o debug\floatimageobj.o debug\floatobj.o debug\frameobj.o debug\geometry.o debug\headingobj.o debug\highlighter.o debug\historywindow.o debug\imageobj.o debug\imports.o debug\linkablemapobj.o debug\main.o debug\mainwindow.o debug\mapcenterobj.o debug\mapeditor.o debug\mapobj.o debug\misc.o debug\noteobj.o debug\options.o debug\ornamentedobj.o debug\parser.o debug\process.o debug\selection.o debug\showtextdialog.o debug\simplescripteditor.o debug\texteditor.o debug\version.o debug\vymmodel.o debug\xlinkobj.o debug\xml-base.o debug\xml-vym.o debug\xml-freemind.o debug\xmlobj.o debug\xsltproc.o debug\settings.o debug\warningdialog.o debug\mkdtemp.o debug\moc_aboutdialog.o debug\moc_attributedelegate.o debug\moc_attributedialog.o debug\moc_attributewidget.o debug\moc_branchpropwindow.o debug\moc_editxlinkdialog.o debug\moc_exportoofiledialog.o debug\moc_exportxhtmldialog.o debug\moc_extrainfodialog.o debug\moc_findwindow.o debug\moc_highlighter.o debug\moc_historywindow.o debug\moc_linkablemapobj.o debug\moc_mainwindow.o debug\moc_mapeditor.o debug\moc_process.o debug\moc_showtextdialog.o debug\moc_simplescripteditor.o debug\moc_texteditor.o debug\moc_vymmodel.o debug\moc_warningdialog.o + -$(DEL_FILE) debug\vym_res.o + +distclean: clean + -$(DEL_FILE) $(DESTDIR_TARGET) + -$(DEL_FILE) Makefile.Debug + +mocclean: compiler_moc_header_clean compiler_moc_source_clean + +mocables: compiler_moc_header_make_all compiler_moc_source_make_all + +compiler_moc_header_make_all: debug/moc_aboutdialog.cpp debug/moc_attributedelegate.cpp debug/moc_attributedialog.cpp debug/moc_attributewidget.cpp debug/moc_branchpropwindow.cpp debug/moc_editxlinkdialog.cpp debug/moc_exportoofiledialog.cpp debug/moc_exportxhtmldialog.cpp debug/moc_extrainfodialog.cpp debug/moc_findwindow.cpp debug/moc_highlighter.cpp debug/moc_historywindow.cpp debug/moc_linkablemapobj.cpp debug/moc_mainwindow.cpp debug/moc_mapeditor.cpp debug/moc_process.cpp debug/moc_showtextdialog.cpp debug/moc_simplescripteditor.cpp debug/moc_texteditor.cpp debug/moc_vymmodel.cpp debug/moc_warningdialog.cpp +compiler_moc_header_clean: + -$(DEL_FILE) debug\moc_aboutdialog.cpp debug\moc_attributedelegate.cpp debug\moc_attributedialog.cpp debug\moc_attributewidget.cpp debug\moc_branchpropwindow.cpp debug\moc_editxlinkdialog.cpp debug\moc_exportoofiledialog.cpp debug\moc_exportxhtmldialog.cpp debug\moc_extrainfodialog.cpp debug\moc_findwindow.cpp debug\moc_highlighter.cpp debug\moc_historywindow.cpp debug\moc_linkablemapobj.cpp debug\moc_mainwindow.cpp debug\moc_mapeditor.cpp debug\moc_process.cpp debug\moc_showtextdialog.cpp debug\moc_simplescripteditor.cpp debug\moc_texteditor.cpp debug\moc_vymmodel.cpp debug\moc_warningdialog.cpp +debug/moc_aboutdialog.cpp: aboutdialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 aboutdialog.h -o debug\moc_aboutdialog.cpp + +debug/moc_attributedelegate.cpp: attribute.h \ + xmlobj.h \ + attributedelegate.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 attributedelegate.h -o debug\moc_attributedelegate.cpp + +debug/moc_attributedialog.cpp: attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + attributedialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 attributedialog.h -o debug\moc_attributedialog.cpp + +debug/moc_attributewidget.cpp: ui_attributewidget.h \ + attribute.h \ + xmlobj.h \ + attributewidget.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 attributewidget.h -o debug\moc_attributewidget.cpp + +debug/moc_branchpropwindow.cpp: ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + branchpropwindow.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 branchpropwindow.h -o debug\moc_branchpropwindow.cpp + +debug/moc_editxlinkdialog.cpp: ui_editxlinkdialog.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + frameobj.h \ + xlinkobj.h \ + editxlinkdialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 editxlinkdialog.h -o debug\moc_editxlinkdialog.cpp + +debug/moc_exportoofiledialog.cpp: settings.h \ + xmlobj.h \ + exportoofiledialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 exportoofiledialog.h -o debug\moc_exportoofiledialog.cpp + +debug/moc_exportxhtmldialog.cpp: ui_exportxhtmldialog.h \ + process.h \ + xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h \ + exportxhtmldialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 exportxhtmldialog.h -o debug\moc_exportxhtmldialog.cpp + +debug/moc_extrainfodialog.cpp: ui_extrainfodialog.h \ + extrainfodialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 extrainfodialog.h -o debug\moc_extrainfodialog.cpp + +debug/moc_findwindow.cpp: findwindow.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 findwindow.h -o debug\moc_findwindow.cpp + +debug/moc_highlighter.cpp: highlighter.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 highlighter.h -o debug\moc_highlighter.cpp + +debug/moc_historywindow.cpp: settings.h \ + xmlobj.h \ + ui_historywindow.h \ + historywindow.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 historywindow.h -o debug\moc_historywindow.cpp + +debug/moc_linkablemapobj.cpp: animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + linkablemapobj.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 linkablemapobj.h -o debug\moc_linkablemapobj.cpp + +debug/moc_mainwindow.cpp: branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + mainwindow.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mainwindow.h -o debug\moc_mainwindow.cpp + +debug/moc_mapeditor.cpp: attribute.h \ + xmlobj.h \ + file.h \ + misc.h \ + parser.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + xlinkobj.h \ + mapeditor.h \ + mapeditor.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mapeditor.h -o debug\moc_mapeditor.cpp + +debug/moc_process.cpp: process.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 process.h -o debug\moc_process.cpp + +debug/moc_showtextdialog.cpp: ui_showtextdialog.h \ + showtextdialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 showtextdialog.h -o debug\moc_showtextdialog.cpp + +debug/moc_simplescripteditor.cpp: ui_simplescripteditor.h \ + highlighter.h \ + simplescripteditor.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 simplescripteditor.h -o debug\moc_simplescripteditor.cpp + +debug/moc_texteditor.cpp: texteditor.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 texteditor.h -o debug\moc_texteditor.cpp + +debug/moc_vymmodel.cpp: mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + vymmodel.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 vymmodel.h -o debug\moc_vymmodel.cpp + +debug/moc_warningdialog.cpp: ui_warningdialog.h \ + warningdialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 warningdialog.h -o debug\moc_warningdialog.cpp + +compiler_rcc_make_all: +compiler_rcc_clean: +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: ui_attributewidget.h ui_branchpropwindow.h ui_exportxhtmldialog.h ui_extrainfodialog.h ui_editxlinkdialog.h ui_historywindow.h ui_simplescripteditor.h ui_showtextdialog.h ui_warningdialog.h +compiler_uic_clean: + -$(DEL_FILE) ui_attributewidget.h ui_branchpropwindow.h ui_exportxhtmldialog.h ui_extrainfodialog.h ui_editxlinkdialog.h ui_historywindow.h ui_simplescripteditor.h ui_showtextdialog.h ui_warningdialog.h +ui_attributewidget.h: attributewidget.ui + c:\Qt\2009.01\qt\bin\uic.exe attributewidget.ui -o ui_attributewidget.h + +ui_branchpropwindow.h: branchpropwindow.ui + c:\Qt\2009.01\qt\bin\uic.exe branchpropwindow.ui -o ui_branchpropwindow.h + +ui_exportxhtmldialog.h: exportxhtmldialog.ui \ + xsltproc.h \ + process.h \ + showtextdialog.h \ + ui_showtextdialog.h + c:\Qt\2009.01\qt\bin\uic.exe exportxhtmldialog.ui -o ui_exportxhtmldialog.h + +ui_extrainfodialog.h: extrainfodialog.ui + c:\Qt\2009.01\qt\bin\uic.exe extrainfodialog.ui -o ui_extrainfodialog.h + +ui_editxlinkdialog.h: editxlinkdialog.ui \ + xlinkobj.h \ + mapcenterobj.h \ + linkablemapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h + c:\Qt\2009.01\qt\bin\uic.exe editxlinkdialog.ui -o ui_editxlinkdialog.h + +ui_historywindow.h: historywindow.ui + c:\Qt\2009.01\qt\bin\uic.exe historywindow.ui -o ui_historywindow.h + +ui_simplescripteditor.h: simplescripteditor.ui + c:\Qt\2009.01\qt\bin\uic.exe simplescripteditor.ui -o ui_simplescripteditor.h + +ui_showtextdialog.h: showtextdialog.ui + c:\Qt\2009.01\qt\bin\uic.exe showtextdialog.ui -o ui_showtextdialog.h + +ui_warningdialog.h: warningdialog.ui + c:\Qt\2009.01\qt\bin\uic.exe warningdialog.ui -o ui_warningdialog.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_uic_clean + + + +####### Compile + +debug/aboutdialog.o: aboutdialog.cpp aboutdialog.h \ + settings.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\aboutdialog.o aboutdialog.cpp + +debug/animpoint.o: animpoint.cpp animpoint.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\animpoint.o animpoint.cpp + +debug/attribute.o: attribute.cpp attribute.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\attribute.o attribute.cpp + +debug/attributedelegate.o: attributedelegate.cpp attributedelegate.h \ + attribute.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\attributedelegate.o attributedelegate.cpp + +debug/attributedialog.o: attributedialog.cpp attributedialog.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + attributewidget.h \ + ui_attributewidget.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\attributedialog.o attributedialog.cpp + +debug/attributewidget.o: attributewidget.cpp attributewidget.h \ + ui_attributewidget.h \ + attribute.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\attributewidget.o attributewidget.cpp + +debug/branchobj.o: branchobj.cpp branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + geometry.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\branchobj.o branchobj.cpp + +debug/branchpropwindow.o: branchpropwindow.cpp branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\branchpropwindow.o branchpropwindow.cpp + +debug/editxlinkdialog.o: editxlinkdialog.cpp editxlinkdialog.h \ + ui_editxlinkdialog.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + frameobj.h \ + xlinkobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\editxlinkdialog.o editxlinkdialog.cpp + +debug/exportoofiledialog.o: exportoofiledialog.cpp exportoofiledialog.h \ + settings.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\exportoofiledialog.o exportoofiledialog.cpp + +debug/exports.o: exports.cpp exports.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + settings.h \ + vymmodel.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + warningdialog.h \ + ui_warningdialog.h \ + xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\exports.o exports.cpp + +debug/exportxhtmldialog.o: exportxhtmldialog.cpp exportxhtmldialog.h \ + ui_exportxhtmldialog.h \ + process.h \ + xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h \ + options.h \ + settings.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\exportxhtmldialog.o exportxhtmldialog.cpp + +debug/extrainfodialog.o: extrainfodialog.cpp extrainfodialog.h \ + ui_extrainfodialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\extrainfodialog.o extrainfodialog.cpp + +debug/file.o: file.cpp file.h \ + process.h \ + mkdtemp.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\file.o file.cpp + +debug/findwindow.o: findwindow.cpp findwindow.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\findwindow.o findwindow.cpp + +debug/flagobj.o: flagobj.cpp flagobj.h \ + mapobj.h \ + xmlobj.h \ + imageobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\flagobj.o flagobj.cpp + +debug/flagrowobj.o: flagrowobj.cpp flagrowobj.h \ + mapobj.h \ + xmlobj.h \ + flagobj.h \ + imageobj.h \ + geometry.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\flagrowobj.o flagrowobj.cpp + +debug/floatimageobj.o: floatimageobj.cpp floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + branchobj.h \ + xlinkobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\floatimageobj.o floatimageobj.cpp + +debug/floatobj.o: floatobj.cpp floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\floatobj.o floatobj.cpp + +debug/frameobj.o: frameobj.cpp frameobj.h \ + mapobj.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\frameobj.o frameobj.cpp + +debug/geometry.o: geometry.cpp geometry.h \ + misc.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\geometry.o geometry.cpp + +debug/headingobj.o: headingobj.cpp headingobj.h \ + mapobj.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\headingobj.o headingobj.cpp + +debug/highlighter.o: highlighter.cpp highlighter.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\highlighter.o highlighter.cpp + +debug/historywindow.o: historywindow.cpp historywindow.h \ + settings.h \ + xmlobj.h \ + ui_historywindow.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\historywindow.o historywindow.cpp + +debug/imageobj.o: imageobj.cpp imageobj.h \ + mapobj.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\imageobj.o imageobj.cpp + +debug/imports.o: imports.cpp file.h \ + imports.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + settings.h \ + misc.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + mapeditor.h \ + parser.h \ + selection.h \ + vymmodel.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\imports.o imports.cpp + +debug/linkablemapobj.o: linkablemapobj.cpp linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + frameobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\linkablemapobj.o linkablemapobj.cpp + +debug/main.o: main.cpp flagrowobj.h \ + mapobj.h \ + xmlobj.h \ + flagobj.h \ + imageobj.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + options.h \ + version.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\main.o main.cpp + +debug/mainwindow.o: mainwindow.cpp mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + aboutdialog.h \ + exportoofiledialog.h \ + exports.h \ + imports.h \ + options.h \ + process.h \ + warningdialog.h \ + ui_warningdialog.h \ + attributedialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\mainwindow.o mainwindow.cpp + +debug/mapcenterobj.o: mapcenterobj.cpp floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + geometry.h \ + mapcenterobj.h \ + branchobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\mapcenterobj.o mapcenterobj.cpp + +debug/mapeditor.o: mapeditor.cpp mapeditor.h \ + attribute.h \ + xmlobj.h \ + file.h \ + misc.h \ + parser.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + xlinkobj.h \ + editxlinkdialog.h \ + ui_editxlinkdialog.h \ + exports.h \ + exportxhtmldialog.h \ + ui_exportxhtmldialog.h \ + process.h \ + xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h \ + extrainfodialog.h \ + ui_extrainfodialog.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + warningdialog.h \ + ui_warningdialog.h \ + xml-freemind.h \ + xml-base.h \ + xml-vym.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\mapeditor.o mapeditor.cpp + +debug/mapobj.o: mapobj.cpp mapobj.h \ + xmlobj.h \ + misc.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\mapobj.o mapobj.cpp + +debug/misc.o: misc.cpp misc.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\misc.o misc.cpp + +debug/noteobj.o: noteobj.cpp noteobj.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\noteobj.o noteobj.cpp + +debug/options.o: options.cpp options.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\options.o options.cpp + +debug/ornamentedobj.o: ornamentedobj.cpp ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + texteditor.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + xlinkobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\ornamentedobj.o ornamentedobj.cpp + +debug/parser.o: parser.cpp parser.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\parser.o parser.cpp + +debug/process.o: process.cpp process.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\process.o process.cpp + +debug/selection.o: selection.cpp selection.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\selection.o selection.cpp + +debug/showtextdialog.o: showtextdialog.cpp showtextdialog.h \ + ui_showtextdialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\showtextdialog.o showtextdialog.cpp + +debug/simplescripteditor.o: simplescripteditor.cpp simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\simplescripteditor.o simplescripteditor.cpp + +debug/texteditor.o: texteditor.cpp texteditor.h \ + noteobj.h \ + xmlobj.h \ + settings.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\texteditor.o texteditor.cpp + +debug/version.o: version.cpp version.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\version.o version.cpp + +debug/vymmodel.o: vymmodel.cpp geometry.h \ + vymmodel.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\vymmodel.o vymmodel.cpp + +debug/xlinkobj.o: xlinkobj.cpp xlinkobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + frameobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\xlinkobj.o xlinkobj.cpp + +debug/xml-base.o: xml-base.cpp xml-base.h \ + file.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\xml-base.o xml-base.cpp + +debug/xml-vym.o: xml-vym.cpp xml-vym.h \ + xml-base.h \ + file.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + version.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\xml-vym.o xml-vym.cpp + +debug/xml-freemind.o: xml-freemind.cpp xml-freemind.h \ + xml-base.h \ + file.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + version.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\xml-freemind.o xml-freemind.cpp + +debug/xmlobj.o: xmlobj.cpp xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\xmlobj.o xmlobj.cpp + +debug/xsltproc.o: xsltproc.cpp xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h \ + process.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\xsltproc.o xsltproc.cpp + +debug/settings.o: settings.cpp settings.h \ + xmlobj.h \ + file.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\settings.o settings.cpp + +debug/warningdialog.o: warningdialog.cpp warningdialog.h \ + ui_warningdialog.h \ + settings.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\warningdialog.o warningdialog.cpp + +debug/mkdtemp.o: mkdtemp.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\mkdtemp.o mkdtemp.cpp + +debug/moc_aboutdialog.o: debug/moc_aboutdialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_aboutdialog.o debug\moc_aboutdialog.cpp + +debug/moc_attributedelegate.o: debug/moc_attributedelegate.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_attributedelegate.o debug\moc_attributedelegate.cpp + +debug/moc_attributedialog.o: debug/moc_attributedialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_attributedialog.o debug\moc_attributedialog.cpp + +debug/moc_attributewidget.o: debug/moc_attributewidget.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_attributewidget.o debug\moc_attributewidget.cpp + +debug/moc_branchpropwindow.o: debug/moc_branchpropwindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_branchpropwindow.o debug\moc_branchpropwindow.cpp + +debug/moc_editxlinkdialog.o: debug/moc_editxlinkdialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_editxlinkdialog.o debug\moc_editxlinkdialog.cpp + +debug/moc_exportoofiledialog.o: debug/moc_exportoofiledialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_exportoofiledialog.o debug\moc_exportoofiledialog.cpp + +debug/moc_exportxhtmldialog.o: debug/moc_exportxhtmldialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_exportxhtmldialog.o debug\moc_exportxhtmldialog.cpp + +debug/moc_extrainfodialog.o: debug/moc_extrainfodialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_extrainfodialog.o debug\moc_extrainfodialog.cpp + +debug/moc_findwindow.o: debug/moc_findwindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_findwindow.o debug\moc_findwindow.cpp + +debug/moc_highlighter.o: debug/moc_highlighter.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_highlighter.o debug\moc_highlighter.cpp + +debug/moc_historywindow.o: debug/moc_historywindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_historywindow.o debug\moc_historywindow.cpp + +debug/moc_linkablemapobj.o: debug/moc_linkablemapobj.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_linkablemapobj.o debug\moc_linkablemapobj.cpp + +debug/moc_mainwindow.o: debug/moc_mainwindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_mainwindow.o debug\moc_mainwindow.cpp + +debug/moc_mapeditor.o: debug/moc_mapeditor.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_mapeditor.o debug\moc_mapeditor.cpp + +debug/moc_process.o: debug/moc_process.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_process.o debug\moc_process.cpp + +debug/moc_showtextdialog.o: debug/moc_showtextdialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_showtextdialog.o debug\moc_showtextdialog.cpp + +debug/moc_simplescripteditor.o: debug/moc_simplescripteditor.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_simplescripteditor.o debug\moc_simplescripteditor.cpp + +debug/moc_texteditor.o: debug/moc_texteditor.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_texteditor.o debug\moc_texteditor.cpp + +debug/moc_vymmodel.o: debug/moc_vymmodel.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_vymmodel.o debug\moc_vymmodel.cpp + +debug/moc_warningdialog.o: debug/moc_warningdialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o debug\moc_warningdialog.o debug\moc_warningdialog.cpp + +####### Install + +install_target: first FORCE + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)\usr\local\bin $(MKDIR) $(INSTALL_ROOT)\usr\local\bin + -$(INSTALL_FILE) "$(DESTDIR_TARGET)" "$(INSTALL_ROOT)\usr\local\bin\$(TARGET)" + +uninstall_target: FORCE + -$(DEL_FILE) "$(INSTALL_ROOT)\usr\local\bin\$(TARGET)" + -$(DEL_DIR) $(INSTALL_ROOT)\usr\local\bin + + +install_support: first FORCE + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)\usr\local\share\vym $(MKDIR) $(INSTALL_ROOT)\usr\local\share\vym + -$(INSTALL_DIR) c:\vym-1.12.2\styles $(INSTALL_ROOT)\usr\local\share\vym\styles + -$(INSTALL_DIR) c:\vym-1.12.2\scripts $(INSTALL_ROOT)\usr\local\share\vym\scripts + -$(INSTALL_DIR) c:\vym-1.12.2\icons $(INSTALL_ROOT)\usr\local\share\vym\icons + -$(INSTALL_DIR) c:\vym-1.12.2\flags $(INSTALL_ROOT)\usr\local\share\vym\flags + -$(INSTALL_DIR) c:\vym-1.12.2\lang $(INSTALL_ROOT)\usr\local\share\vym\lang + -$(INSTALL_DIR) c:\vym-1.12.2\macros $(INSTALL_ROOT)\usr\local\share\vym\macros + -$(INSTALL_DIR) c:\vym-1.12.2\exports $(INSTALL_ROOT)\usr\local\share\vym\exports + -$(INSTALL_DIR) c:\vym-1.12.2\demos $(INSTALL_ROOT)\usr\local\share\vym\demos + + +uninstall_support: FORCE + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\styles + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\scripts + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\icons + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\flags + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\lang + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\macros + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\exports + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\demos + -$(DEL_DIR) $(INSTALL_ROOT)\usr\local\share\vym + + +install_doc: first FORCE + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)\usr\local\share\doc\packages\vym $(MKDIR) $(INSTALL_ROOT)\usr\local\share\doc\packages\vym + -$(INSTALL_FILE) c:\vym-1.12.2\doc\vym.pdf $(INSTALL_ROOT)\usr\local\share\doc\packages\vym + + +uninstall_doc: FORCE + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\doc\packages\vym\vym.pdf + -$(DEL_DIR) $(INSTALL_ROOT)\usr\local\share\doc\packages\vym + + +install: install_target install_support install_doc FORCE + +uninstall: uninstall_target uninstall_support uninstall_doc FORCE + +FORCE: + diff --git a/Makefile.Release b/Makefile.Release new file mode 100644 index 0000000..4dc7ca0 --- /dev/null +++ b/Makefile.Release @@ -0,0 +1,1477 @@ +############################################################################# +# Makefile for building: vym +# Generated by qmake (2.01a) (Qt 4.5.0) on: sáb 24. out 08:26:41 2009 +# Project: vym.pro +# Template: app +############################################################################# + +####### Compiler, tools and options + +CC = gcc +CXX = g++ +DEFINES = -DUNICODE -DQT_LARGEFILE_SUPPORT -D_USE_MATH_DEFINES -DVYM_DOCDIR=\"/usr/local/share/doc/packages/vym\" -DQT_DLL -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN +CFLAGS = -O2 -Wall $(DEFINES) +CXXFLAGS = -O2 -Wall -frtti -fexceptions -mthreads $(DEFINES) +INCPATH = -I"..\Qt\2009.01\qt\include\QtCore" -I"..\Qt\2009.01\qt\include\QtNetwork" -I"..\Qt\2009.01\qt\include\QtGui" -I"..\Qt\2009.01\qt\include\QtXml" -I"..\Qt\2009.01\qt\include\Qt3Support" -I"..\Qt\2009.01\qt\include" -I"..\Qt\2009.01\qt\include\ActiveQt" -I"release" -I"." -I"..\Qt\2009.01\qt\mkspecs\win32-g++" +LINK = g++ +LFLAGS = -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows +LIBS = -L"c:\Qt\2009.01\qt\lib" -lmingw32 -lqtmain release\vym_res.o -lQt3Support4 -lQtXml4 -lQtGui4 -lQtNetwork4 -lQtCore4 +QMAKE = c:\Qt\2009.01\qt\bin\qmake.exe +IDC = c:\Qt\2009.01\qt\bin\idc.exe +IDL = midl +ZIP = zip -r -9 +DEF_FILE = +RES_FILE = release\vym_res.o +COPY = copy /y +COPY_FILE = $(COPY) +COPY_DIR = xcopy /s /q /y /i +DEL_FILE = del +DEL_DIR = rmdir +MOVE = move +CHK_DIR_EXISTS= if not exist +MKDIR = mkdir +INSTALL_FILE = $(COPY_FILE) +INSTALL_PROGRAM = $(COPY_FILE) +INSTALL_DIR = $(COPY_DIR) + +####### Output directory + +OBJECTS_DIR = release + +####### Files + +SOURCES = aboutdialog.cpp \ + animpoint.cpp \ + attribute.cpp \ + attributedelegate.cpp \ + attributedialog.cpp \ + attributewidget.cpp \ + branchobj.cpp \ + branchpropwindow.cpp \ + editxlinkdialog.cpp \ + exportoofiledialog.cpp \ + exports.cpp \ + exportxhtmldialog.cpp \ + extrainfodialog.cpp \ + file.cpp \ + findwindow.cpp \ + flagobj.cpp \ + flagrowobj.cpp \ + floatimageobj.cpp \ + floatobj.cpp \ + frameobj.cpp \ + geometry.cpp \ + headingobj.cpp \ + highlighter.cpp \ + historywindow.cpp \ + imageobj.cpp \ + imports.cpp \ + linkablemapobj.cpp \ + main.cpp \ + mainwindow.cpp \ + mapcenterobj.cpp \ + mapeditor.cpp \ + mapobj.cpp \ + misc.cpp \ + noteobj.cpp \ + options.cpp \ + ornamentedobj.cpp \ + parser.cpp \ + process.cpp \ + selection.cpp \ + showtextdialog.cpp \ + simplescripteditor.cpp \ + texteditor.cpp \ + version.cpp \ + vymmodel.cpp \ + xlinkobj.cpp \ + xml-base.cpp \ + xml-vym.cpp \ + xml-freemind.cpp \ + xmlobj.cpp \ + xsltproc.cpp \ + settings.cpp \ + warningdialog.cpp \ + mkdtemp.cpp release\moc_aboutdialog.cpp \ + release\moc_attributedelegate.cpp \ + release\moc_attributedialog.cpp \ + release\moc_attributewidget.cpp \ + release\moc_branchpropwindow.cpp \ + release\moc_editxlinkdialog.cpp \ + release\moc_exportoofiledialog.cpp \ + release\moc_exportxhtmldialog.cpp \ + release\moc_extrainfodialog.cpp \ + release\moc_findwindow.cpp \ + release\moc_highlighter.cpp \ + release\moc_historywindow.cpp \ + release\moc_linkablemapobj.cpp \ + release\moc_mainwindow.cpp \ + release\moc_mapeditor.cpp \ + release\moc_process.cpp \ + release\moc_showtextdialog.cpp \ + release\moc_simplescripteditor.cpp \ + release\moc_texteditor.cpp \ + release\moc_vymmodel.cpp \ + release\moc_warningdialog.cpp +OBJECTS = release/aboutdialog.o \ + release/animpoint.o \ + release/attribute.o \ + release/attributedelegate.o \ + release/attributedialog.o \ + release/attributewidget.o \ + release/branchobj.o \ + release/branchpropwindow.o \ + release/editxlinkdialog.o \ + release/exportoofiledialog.o \ + release/exports.o \ + release/exportxhtmldialog.o \ + release/extrainfodialog.o \ + release/file.o \ + release/findwindow.o \ + release/flagobj.o \ + release/flagrowobj.o \ + release/floatimageobj.o \ + release/floatobj.o \ + release/frameobj.o \ + release/geometry.o \ + release/headingobj.o \ + release/highlighter.o \ + release/historywindow.o \ + release/imageobj.o \ + release/imports.o \ + release/linkablemapobj.o \ + release/main.o \ + release/mainwindow.o \ + release/mapcenterobj.o \ + release/mapeditor.o \ + release/mapobj.o \ + release/misc.o \ + release/noteobj.o \ + release/options.o \ + release/ornamentedobj.o \ + release/parser.o \ + release/process.o \ + release/selection.o \ + release/showtextdialog.o \ + release/simplescripteditor.o \ + release/texteditor.o \ + release/version.o \ + release/vymmodel.o \ + release/xlinkobj.o \ + release/xml-base.o \ + release/xml-vym.o \ + release/xml-freemind.o \ + release/xmlobj.o \ + release/xsltproc.o \ + release/settings.o \ + release/warningdialog.o \ + release/mkdtemp.o \ + release/moc_aboutdialog.o \ + release/moc_attributedelegate.o \ + release/moc_attributedialog.o \ + release/moc_attributewidget.o \ + release/moc_branchpropwindow.o \ + release/moc_editxlinkdialog.o \ + release/moc_exportoofiledialog.o \ + release/moc_exportxhtmldialog.o \ + release/moc_extrainfodialog.o \ + release/moc_findwindow.o \ + release/moc_highlighter.o \ + release/moc_historywindow.o \ + release/moc_linkablemapobj.o \ + release/moc_mainwindow.o \ + release/moc_mapeditor.o \ + release/moc_process.o \ + release/moc_showtextdialog.o \ + release/moc_simplescripteditor.o \ + release/moc_texteditor.o \ + release/moc_vymmodel.o \ + release/moc_warningdialog.o +DIST = +QMAKE_TARGET = vym +DESTDIR = release\ #avoid trailing-slash linebreak +TARGET = vym.exe +DESTDIR_TARGET = release\vym.exe + +####### Implicit rules + +.SUFFIXES: .cpp .cc .cxx .c + +.cpp.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cc.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.cxx.o: + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + +.c.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< + +####### Build rules + +first: all +all: Makefile.Release $(DESTDIR_TARGET) + +$(DESTDIR_TARGET): ui_attributewidget.h ui_branchpropwindow.h ui_exportxhtmldialog.h ui_extrainfodialog.h ui_editxlinkdialog.h ui_historywindow.h ui_simplescripteditor.h ui_showtextdialog.h ui_warningdialog.h $(OBJECTS) release/vym_res.o + $(LINK) $(LFLAGS) -o $(DESTDIR_TARGET) object_script.vym.Release $(LIBS) + + +release/vym_res.o: vym.rc + windres -i vym.rc -o release\vym_res.o --include-dir=. + +qmake: FORCE + @$(QMAKE) -spec ..\Qt\2009.01\qt\mkspecs\win32-g++ -win32 -o Makefile.Release vym.pro + +dist: + $(ZIP) vym.zip $(SOURCES) $(DIST) vym.pro ..\Qt\2009.01\qt\mkspecs\qconfig.pri ..\Qt\2009.01\qt\mkspecs\features\qt_functions.prf ..\Qt\2009.01\qt\mkspecs\features\qt_config.prf ..\Qt\2009.01\qt\mkspecs\features\exclusive_builds.prf ..\Qt\2009.01\qt\mkspecs\features\default_pre.prf ..\Qt\2009.01\qt\mkspecs\features\win32\default_pre.prf ..\Qt\2009.01\qt\mkspecs\features\release.prf ..\Qt\2009.01\qt\mkspecs\features\debug_and_release.prf ..\Qt\2009.01\qt\mkspecs\features\default_post.prf ..\Qt\2009.01\qt\mkspecs\features\win32\default_post.prf ..\Qt\2009.01\qt\mkspecs\features\build_pass.prf ..\Qt\2009.01\qt\mkspecs\features\win32\embed_manifest_exe.prf ..\Qt\2009.01\qt\mkspecs\features\warn_on.prf ..\Qt\2009.01\qt\mkspecs\features\qt.prf ..\Qt\2009.01\qt\mkspecs\features\win32\thread.prf ..\Qt\2009.01\qt\mkspecs\features\moc.prf ..\Qt\2009.01\qt\mkspecs\features\win32\rtti.prf ..\Qt\2009.01\qt\mkspecs\features\win32\exceptions.prf ..\Qt\2009.01\qt\mkspecs\features\win32\stl.prf ..\Qt\2009.01\qt\mkspecs\features\shared.prf ..\Qt\2009.01\qt\mkspecs\features\win32\windows.prf ..\Qt\2009.01\qt\mkspecs\features\resources.prf ..\Qt\2009.01\qt\mkspecs\features\uic.prf ..\Qt\2009.01\qt\mkspecs\features\yacc.prf ..\Qt\2009.01\qt\mkspecs\features\lex.prf c:\Qt\2009.01\qt\lib\qtmain.prl lang\vym_de.ts lang\vym_en.ts lang\vym_es.ts lang\vym_fr.ts lang\vym_it.ts lang\vym_pt_BR.ts lang\vym_ru.ts lang\vym_zh_CN.ts lang\vym_de.ts lang\vym_en.ts lang\vym_es.ts lang\vym_fr.ts lang\vym_it.ts lang\vym_pt_BR.ts lang\vym_ru.ts lang\vym_zh_CN.ts HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES + +clean: compiler_clean + -$(DEL_FILE) release\aboutdialog.o release\animpoint.o release\attribute.o release\attributedelegate.o release\attributedialog.o release\attributewidget.o release\branchobj.o release\branchpropwindow.o release\editxlinkdialog.o release\exportoofiledialog.o release\exports.o release\exportxhtmldialog.o release\extrainfodialog.o release\file.o release\findwindow.o release\flagobj.o release\flagrowobj.o release\floatimageobj.o release\floatobj.o release\frameobj.o release\geometry.o release\headingobj.o release\highlighter.o release\historywindow.o release\imageobj.o release\imports.o release\linkablemapobj.o release\main.o release\mainwindow.o release\mapcenterobj.o release\mapeditor.o release\mapobj.o release\misc.o release\noteobj.o release\options.o release\ornamentedobj.o release\parser.o release\process.o release\selection.o release\showtextdialog.o release\simplescripteditor.o release\texteditor.o release\version.o release\vymmodel.o release\xlinkobj.o release\xml-base.o release\xml-vym.o release\xml-freemind.o release\xmlobj.o release\xsltproc.o release\settings.o release\warningdialog.o release\mkdtemp.o release\moc_aboutdialog.o release\moc_attributedelegate.o release\moc_attributedialog.o release\moc_attributewidget.o release\moc_branchpropwindow.o release\moc_editxlinkdialog.o release\moc_exportoofiledialog.o release\moc_exportxhtmldialog.o release\moc_extrainfodialog.o release\moc_findwindow.o release\moc_highlighter.o release\moc_historywindow.o release\moc_linkablemapobj.o release\moc_mainwindow.o release\moc_mapeditor.o release\moc_process.o release\moc_showtextdialog.o release\moc_simplescripteditor.o release\moc_texteditor.o release\moc_vymmodel.o release\moc_warningdialog.o + -$(DEL_FILE) release\vym_res.o + +distclean: clean + -$(DEL_FILE) $(DESTDIR_TARGET) + -$(DEL_FILE) Makefile.Release + +mocclean: compiler_moc_header_clean compiler_moc_source_clean + +mocables: compiler_moc_header_make_all compiler_moc_source_make_all + +compiler_moc_header_make_all: release/moc_aboutdialog.cpp release/moc_attributedelegate.cpp release/moc_attributedialog.cpp release/moc_attributewidget.cpp release/moc_branchpropwindow.cpp release/moc_editxlinkdialog.cpp release/moc_exportoofiledialog.cpp release/moc_exportxhtmldialog.cpp release/moc_extrainfodialog.cpp release/moc_findwindow.cpp release/moc_highlighter.cpp release/moc_historywindow.cpp release/moc_linkablemapobj.cpp release/moc_mainwindow.cpp release/moc_mapeditor.cpp release/moc_process.cpp release/moc_showtextdialog.cpp release/moc_simplescripteditor.cpp release/moc_texteditor.cpp release/moc_vymmodel.cpp release/moc_warningdialog.cpp +compiler_moc_header_clean: + -$(DEL_FILE) release\moc_aboutdialog.cpp release\moc_attributedelegate.cpp release\moc_attributedialog.cpp release\moc_attributewidget.cpp release\moc_branchpropwindow.cpp release\moc_editxlinkdialog.cpp release\moc_exportoofiledialog.cpp release\moc_exportxhtmldialog.cpp release\moc_extrainfodialog.cpp release\moc_findwindow.cpp release\moc_highlighter.cpp release\moc_historywindow.cpp release\moc_linkablemapobj.cpp release\moc_mainwindow.cpp release\moc_mapeditor.cpp release\moc_process.cpp release\moc_showtextdialog.cpp release\moc_simplescripteditor.cpp release\moc_texteditor.cpp release\moc_vymmodel.cpp release\moc_warningdialog.cpp +release/moc_aboutdialog.cpp: aboutdialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 aboutdialog.h -o release\moc_aboutdialog.cpp + +release/moc_attributedelegate.cpp: attribute.h \ + xmlobj.h \ + attributedelegate.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 attributedelegate.h -o release\moc_attributedelegate.cpp + +release/moc_attributedialog.cpp: attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + attributedialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 attributedialog.h -o release\moc_attributedialog.cpp + +release/moc_attributewidget.cpp: ui_attributewidget.h \ + attribute.h \ + xmlobj.h \ + attributewidget.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 attributewidget.h -o release\moc_attributewidget.cpp + +release/moc_branchpropwindow.cpp: ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + branchpropwindow.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 branchpropwindow.h -o release\moc_branchpropwindow.cpp + +release/moc_editxlinkdialog.cpp: ui_editxlinkdialog.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + frameobj.h \ + xlinkobj.h \ + editxlinkdialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 editxlinkdialog.h -o release\moc_editxlinkdialog.cpp + +release/moc_exportoofiledialog.cpp: settings.h \ + xmlobj.h \ + exportoofiledialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 exportoofiledialog.h -o release\moc_exportoofiledialog.cpp + +release/moc_exportxhtmldialog.cpp: ui_exportxhtmldialog.h \ + process.h \ + xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h \ + exportxhtmldialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 exportxhtmldialog.h -o release\moc_exportxhtmldialog.cpp + +release/moc_extrainfodialog.cpp: ui_extrainfodialog.h \ + extrainfodialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 extrainfodialog.h -o release\moc_extrainfodialog.cpp + +release/moc_findwindow.cpp: findwindow.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 findwindow.h -o release\moc_findwindow.cpp + +release/moc_highlighter.cpp: highlighter.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 highlighter.h -o release\moc_highlighter.cpp + +release/moc_historywindow.cpp: settings.h \ + xmlobj.h \ + ui_historywindow.h \ + historywindow.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 historywindow.h -o release\moc_historywindow.cpp + +release/moc_linkablemapobj.cpp: animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + linkablemapobj.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 linkablemapobj.h -o release\moc_linkablemapobj.cpp + +release/moc_mainwindow.cpp: branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + mainwindow.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mainwindow.h -o release\moc_mainwindow.cpp + +release/moc_mapeditor.cpp: attribute.h \ + xmlobj.h \ + file.h \ + misc.h \ + parser.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + xlinkobj.h \ + mapeditor.h \ + mapeditor.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 mapeditor.h -o release\moc_mapeditor.cpp + +release/moc_process.cpp: process.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 process.h -o release\moc_process.cpp + +release/moc_showtextdialog.cpp: ui_showtextdialog.h \ + showtextdialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 showtextdialog.h -o release\moc_showtextdialog.cpp + +release/moc_simplescripteditor.cpp: ui_simplescripteditor.h \ + highlighter.h \ + simplescripteditor.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 simplescripteditor.h -o release\moc_simplescripteditor.cpp + +release/moc_texteditor.cpp: texteditor.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 texteditor.h -o release\moc_texteditor.cpp + +release/moc_vymmodel.cpp: mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + vymmodel.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 vymmodel.h -o release\moc_vymmodel.cpp + +release/moc_warningdialog.cpp: ui_warningdialog.h \ + warningdialog.h + c:/Qt/2009.01/qt/bin\moc.exe $(DEFINES) $(INCPATH) -D__GNUC__ -DWIN32 warningdialog.h -o release\moc_warningdialog.cpp + +compiler_rcc_make_all: +compiler_rcc_clean: +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: ui_attributewidget.h ui_branchpropwindow.h ui_exportxhtmldialog.h ui_extrainfodialog.h ui_editxlinkdialog.h ui_historywindow.h ui_simplescripteditor.h ui_showtextdialog.h ui_warningdialog.h +compiler_uic_clean: + -$(DEL_FILE) ui_attributewidget.h ui_branchpropwindow.h ui_exportxhtmldialog.h ui_extrainfodialog.h ui_editxlinkdialog.h ui_historywindow.h ui_simplescripteditor.h ui_showtextdialog.h ui_warningdialog.h +ui_attributewidget.h: attributewidget.ui + c:\Qt\2009.01\qt\bin\uic.exe attributewidget.ui -o ui_attributewidget.h + +ui_branchpropwindow.h: branchpropwindow.ui + c:\Qt\2009.01\qt\bin\uic.exe branchpropwindow.ui -o ui_branchpropwindow.h + +ui_exportxhtmldialog.h: exportxhtmldialog.ui \ + xsltproc.h \ + process.h \ + showtextdialog.h \ + ui_showtextdialog.h + c:\Qt\2009.01\qt\bin\uic.exe exportxhtmldialog.ui -o ui_exportxhtmldialog.h + +ui_extrainfodialog.h: extrainfodialog.ui + c:\Qt\2009.01\qt\bin\uic.exe extrainfodialog.ui -o ui_extrainfodialog.h + +ui_editxlinkdialog.h: editxlinkdialog.ui \ + xlinkobj.h \ + mapcenterobj.h \ + linkablemapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h + c:\Qt\2009.01\qt\bin\uic.exe editxlinkdialog.ui -o ui_editxlinkdialog.h + +ui_historywindow.h: historywindow.ui + c:\Qt\2009.01\qt\bin\uic.exe historywindow.ui -o ui_historywindow.h + +ui_simplescripteditor.h: simplescripteditor.ui + c:\Qt\2009.01\qt\bin\uic.exe simplescripteditor.ui -o ui_simplescripteditor.h + +ui_showtextdialog.h: showtextdialog.ui + c:\Qt\2009.01\qt\bin\uic.exe showtextdialog.ui -o ui_showtextdialog.h + +ui_warningdialog.h: warningdialog.ui + c:\Qt\2009.01\qt\bin\uic.exe warningdialog.ui -o ui_warningdialog.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_uic_clean + + + +####### Compile + +release/aboutdialog.o: aboutdialog.cpp aboutdialog.h \ + settings.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\aboutdialog.o aboutdialog.cpp + +release/animpoint.o: animpoint.cpp animpoint.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\animpoint.o animpoint.cpp + +release/attribute.o: attribute.cpp attribute.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\attribute.o attribute.cpp + +release/attributedelegate.o: attributedelegate.cpp attributedelegate.h \ + attribute.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\attributedelegate.o attributedelegate.cpp + +release/attributedialog.o: attributedialog.cpp attributedialog.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + attributewidget.h \ + ui_attributewidget.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\attributedialog.o attributedialog.cpp + +release/attributewidget.o: attributewidget.cpp attributewidget.h \ + ui_attributewidget.h \ + attribute.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\attributewidget.o attributewidget.cpp + +release/branchobj.o: branchobj.cpp branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + geometry.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\branchobj.o branchobj.cpp + +release/branchpropwindow.o: branchpropwindow.cpp branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\branchpropwindow.o branchpropwindow.cpp + +release/editxlinkdialog.o: editxlinkdialog.cpp editxlinkdialog.h \ + ui_editxlinkdialog.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + frameobj.h \ + xlinkobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\editxlinkdialog.o editxlinkdialog.cpp + +release/exportoofiledialog.o: exportoofiledialog.cpp exportoofiledialog.h \ + settings.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\exportoofiledialog.o exportoofiledialog.cpp + +release/exports.o: exports.cpp exports.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + settings.h \ + vymmodel.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + warningdialog.h \ + ui_warningdialog.h \ + xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\exports.o exports.cpp + +release/exportxhtmldialog.o: exportxhtmldialog.cpp exportxhtmldialog.h \ + ui_exportxhtmldialog.h \ + process.h \ + xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h \ + options.h \ + settings.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\exportxhtmldialog.o exportxhtmldialog.cpp + +release/extrainfodialog.o: extrainfodialog.cpp extrainfodialog.h \ + ui_extrainfodialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\extrainfodialog.o extrainfodialog.cpp + +release/file.o: file.cpp file.h \ + process.h \ + mkdtemp.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\file.o file.cpp + +release/findwindow.o: findwindow.cpp findwindow.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\findwindow.o findwindow.cpp + +release/flagobj.o: flagobj.cpp flagobj.h \ + mapobj.h \ + xmlobj.h \ + imageobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\flagobj.o flagobj.cpp + +release/flagrowobj.o: flagrowobj.cpp flagrowobj.h \ + mapobj.h \ + xmlobj.h \ + flagobj.h \ + imageobj.h \ + geometry.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\flagrowobj.o flagrowobj.cpp + +release/floatimageobj.o: floatimageobj.cpp floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + branchobj.h \ + xlinkobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\floatimageobj.o floatimageobj.cpp + +release/floatobj.o: floatobj.cpp floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\floatobj.o floatobj.cpp + +release/frameobj.o: frameobj.cpp frameobj.h \ + mapobj.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\frameobj.o frameobj.cpp + +release/geometry.o: geometry.cpp geometry.h \ + misc.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\geometry.o geometry.cpp + +release/headingobj.o: headingobj.cpp headingobj.h \ + mapobj.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\headingobj.o headingobj.cpp + +release/highlighter.o: highlighter.cpp highlighter.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\highlighter.o highlighter.cpp + +release/historywindow.o: historywindow.cpp historywindow.h \ + settings.h \ + xmlobj.h \ + ui_historywindow.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\historywindow.o historywindow.cpp + +release/imageobj.o: imageobj.cpp imageobj.h \ + mapobj.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\imageobj.o imageobj.cpp + +release/imports.o: imports.cpp file.h \ + imports.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + settings.h \ + misc.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + mapeditor.h \ + parser.h \ + selection.h \ + vymmodel.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\imports.o imports.cpp + +release/linkablemapobj.o: linkablemapobj.cpp linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + frameobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\linkablemapobj.o linkablemapobj.cpp + +release/main.o: main.cpp flagrowobj.h \ + mapobj.h \ + xmlobj.h \ + flagobj.h \ + imageobj.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + options.h \ + version.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\main.o main.cpp + +release/mainwindow.o: mainwindow.cpp mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + aboutdialog.h \ + exportoofiledialog.h \ + exports.h \ + imports.h \ + options.h \ + process.h \ + warningdialog.h \ + ui_warningdialog.h \ + attributedialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mainwindow.o mainwindow.cpp + +release/mapcenterobj.o: mapcenterobj.cpp floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + geometry.h \ + mapcenterobj.h \ + branchobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mapcenterobj.o mapcenterobj.cpp + +release/mapeditor.o: mapeditor.cpp mapeditor.h \ + attribute.h \ + xmlobj.h \ + file.h \ + misc.h \ + parser.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + xlinkobj.h \ + editxlinkdialog.h \ + ui_editxlinkdialog.h \ + exports.h \ + exportxhtmldialog.h \ + ui_exportxhtmldialog.h \ + process.h \ + xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h \ + extrainfodialog.h \ + ui_extrainfodialog.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h \ + warningdialog.h \ + ui_warningdialog.h \ + xml-freemind.h \ + xml-base.h \ + xml-vym.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mapeditor.o mapeditor.cpp + +release/mapobj.o: mapobj.cpp mapobj.h \ + xmlobj.h \ + misc.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mapobj.o mapobj.cpp + +release/misc.o: misc.cpp misc.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\misc.o misc.cpp + +release/noteobj.o: noteobj.cpp noteobj.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\noteobj.o noteobj.cpp + +release/options.o: options.cpp options.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\options.o options.cpp + +release/ornamentedobj.o: ornamentedobj.cpp ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + texteditor.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + xlinkobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\ornamentedobj.o ornamentedobj.cpp + +release/parser.o: parser.cpp parser.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\parser.o parser.cpp + +release/process.o: process.cpp process.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\process.o process.cpp + +release/selection.o: selection.cpp selection.h \ + mainwindow.h \ + branchpropwindow.h \ + ui_branchpropwindow.h \ + attributedelegate.h \ + attribute.h \ + xmlobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + settings.h \ + vymmodel.h \ + mapcenterobj.h \ + findwindow.h \ + historywindow.h \ + ui_historywindow.h \ + simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h \ + texteditor.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\selection.o selection.cpp + +release/showtextdialog.o: showtextdialog.cpp showtextdialog.h \ + ui_showtextdialog.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\showtextdialog.o showtextdialog.cpp + +release/simplescripteditor.o: simplescripteditor.cpp simplescripteditor.h \ + ui_simplescripteditor.h \ + highlighter.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\simplescripteditor.o simplescripteditor.cpp + +release/texteditor.o: texteditor.cpp texteditor.h \ + noteobj.h \ + xmlobj.h \ + settings.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\texteditor.o texteditor.cpp + +release/version.o: version.cpp version.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\version.o version.cpp + +release/vymmodel.o: vymmodel.cpp geometry.h \ + vymmodel.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + file.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\vymmodel.o vymmodel.cpp + +release/xlinkobj.o: xlinkobj.cpp xlinkobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + xmlobj.h \ + headingobj.h \ + mapobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + frameobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\xlinkobj.o xlinkobj.cpp + +release/xml-base.o: xml-base.cpp xml-base.h \ + file.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\xml-base.o xml-base.cpp + +release/xml-vym.o: xml-vym.cpp xml-vym.h \ + xml-base.h \ + file.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + version.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\xml-vym.o xml-vym.cpp + +release/xml-freemind.o: xml-freemind.cpp xml-freemind.h \ + xml-base.h \ + file.h \ + mapcenterobj.h \ + branchobj.h \ + floatimageobj.h \ + floatobj.h \ + ornamentedobj.h \ + attribute.h \ + xmlobj.h \ + frameobj.h \ + mapobj.h \ + linkablemapobj.h \ + animpoint.h \ + noteobj.h \ + headingobj.h \ + flagrowobj.h \ + flagobj.h \ + imageobj.h \ + xlinkobj.h \ + mapeditor.h \ + misc.h \ + parser.h \ + selection.h \ + settings.h \ + vymmodel.h \ + version.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\xml-freemind.o xml-freemind.cpp + +release/xmlobj.o: xmlobj.cpp xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\xmlobj.o xmlobj.cpp + +release/xsltproc.o: xsltproc.cpp xsltproc.h \ + showtextdialog.h \ + ui_showtextdialog.h \ + process.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\xsltproc.o xsltproc.cpp + +release/settings.o: settings.cpp settings.h \ + xmlobj.h \ + file.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\settings.o settings.cpp + +release/warningdialog.o: warningdialog.cpp warningdialog.h \ + ui_warningdialog.h \ + settings.h \ + xmlobj.h + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\warningdialog.o warningdialog.cpp + +release/mkdtemp.o: mkdtemp.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\mkdtemp.o mkdtemp.cpp + +release/moc_aboutdialog.o: release/moc_aboutdialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_aboutdialog.o release\moc_aboutdialog.cpp + +release/moc_attributedelegate.o: release/moc_attributedelegate.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_attributedelegate.o release\moc_attributedelegate.cpp + +release/moc_attributedialog.o: release/moc_attributedialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_attributedialog.o release\moc_attributedialog.cpp + +release/moc_attributewidget.o: release/moc_attributewidget.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_attributewidget.o release\moc_attributewidget.cpp + +release/moc_branchpropwindow.o: release/moc_branchpropwindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_branchpropwindow.o release\moc_branchpropwindow.cpp + +release/moc_editxlinkdialog.o: release/moc_editxlinkdialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_editxlinkdialog.o release\moc_editxlinkdialog.cpp + +release/moc_exportoofiledialog.o: release/moc_exportoofiledialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_exportoofiledialog.o release\moc_exportoofiledialog.cpp + +release/moc_exportxhtmldialog.o: release/moc_exportxhtmldialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_exportxhtmldialog.o release\moc_exportxhtmldialog.cpp + +release/moc_extrainfodialog.o: release/moc_extrainfodialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_extrainfodialog.o release\moc_extrainfodialog.cpp + +release/moc_findwindow.o: release/moc_findwindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_findwindow.o release\moc_findwindow.cpp + +release/moc_highlighter.o: release/moc_highlighter.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_highlighter.o release\moc_highlighter.cpp + +release/moc_historywindow.o: release/moc_historywindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_historywindow.o release\moc_historywindow.cpp + +release/moc_linkablemapobj.o: release/moc_linkablemapobj.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_linkablemapobj.o release\moc_linkablemapobj.cpp + +release/moc_mainwindow.o: release/moc_mainwindow.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_mainwindow.o release\moc_mainwindow.cpp + +release/moc_mapeditor.o: release/moc_mapeditor.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_mapeditor.o release\moc_mapeditor.cpp + +release/moc_process.o: release/moc_process.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_process.o release\moc_process.cpp + +release/moc_showtextdialog.o: release/moc_showtextdialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_showtextdialog.o release\moc_showtextdialog.cpp + +release/moc_simplescripteditor.o: release/moc_simplescripteditor.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_simplescripteditor.o release\moc_simplescripteditor.cpp + +release/moc_texteditor.o: release/moc_texteditor.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_texteditor.o release\moc_texteditor.cpp + +release/moc_vymmodel.o: release/moc_vymmodel.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_vymmodel.o release\moc_vymmodel.cpp + +release/moc_warningdialog.o: release/moc_warningdialog.cpp + $(CXX) -c $(CXXFLAGS) $(INCPATH) -o release\moc_warningdialog.o release\moc_warningdialog.cpp + +####### Install + +install_target: first FORCE + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)\usr\local\bin $(MKDIR) $(INSTALL_ROOT)\usr\local\bin + -$(INSTALL_FILE) "$(DESTDIR_TARGET)" "$(INSTALL_ROOT)\usr\local\bin\$(TARGET)" + +uninstall_target: FORCE + -$(DEL_FILE) "$(INSTALL_ROOT)\usr\local\bin\$(TARGET)" + -$(DEL_DIR) $(INSTALL_ROOT)\usr\local\bin + + +install_support: first FORCE + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)\usr\local\share\vym $(MKDIR) $(INSTALL_ROOT)\usr\local\share\vym + -$(INSTALL_DIR) c:\vym-1.12.2\styles $(INSTALL_ROOT)\usr\local\share\vym\styles + -$(INSTALL_DIR) c:\vym-1.12.2\scripts $(INSTALL_ROOT)\usr\local\share\vym\scripts + -$(INSTALL_DIR) c:\vym-1.12.2\icons $(INSTALL_ROOT)\usr\local\share\vym\icons + -$(INSTALL_DIR) c:\vym-1.12.2\flags $(INSTALL_ROOT)\usr\local\share\vym\flags + -$(INSTALL_DIR) c:\vym-1.12.2\lang $(INSTALL_ROOT)\usr\local\share\vym\lang + -$(INSTALL_DIR) c:\vym-1.12.2\macros $(INSTALL_ROOT)\usr\local\share\vym\macros + -$(INSTALL_DIR) c:\vym-1.12.2\exports $(INSTALL_ROOT)\usr\local\share\vym\exports + -$(INSTALL_DIR) c:\vym-1.12.2\demos $(INSTALL_ROOT)\usr\local\share\vym\demos + + +uninstall_support: FORCE + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\styles + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\scripts + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\icons + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\flags + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\lang + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\macros + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\exports + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\vym\demos + -$(DEL_DIR) $(INSTALL_ROOT)\usr\local\share\vym + + +install_doc: first FORCE + @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)\usr\local\share\doc\packages\vym $(MKDIR) $(INSTALL_ROOT)\usr\local\share\doc\packages\vym + -$(INSTALL_FILE) c:\vym-1.12.2\doc\vym.pdf $(INSTALL_ROOT)\usr\local\share\doc\packages\vym + + +uninstall_doc: FORCE + -$(DEL_FILE) $(INSTALL_ROOT)\usr\local\share\doc\packages\vym\vym.pdf + -$(DEL_DIR) $(INSTALL_ROOT)\usr\local\share\doc\packages\vym + + +install: install_target install_support install_doc FORCE + +uninstall: uninstall_target uninstall_support uninstall_doc FORCE + +FORCE: + diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..357c6d3 --- /dev/null +++ b/README.txt @@ -0,0 +1,159 @@ +VYM - View Your Mind - 1.10.0 (c) 2007 by Uwe Drechsel +====================================================== + + + +Documentation +------------- + +The complete documentation of vym is available as PDF document in +english and spanish (1.8.1). It can be accessed directly from vym if a PDF +viewer is installed. It also can be downloaded from the vym site at +Sourceforge: + +https://sourceforge.net/projects/vym/ + + +Versioning scheme +----------------- + +Beginning with this version of vym (1.10.0) the versioning is similar to +that of the Linux Kernel: + +Odd versions (like 1.9, 1.11, ...) are developer versions, the stable +"public" ones will have 1.10 or 1.12. + + +Questions and feedback +---------------------- + +Please direct questions to the mailinglist first: + + vym-forum@lists.sourceforge.net + + + +Changelog since 1.8.1 +--------------------- + +- Feature: Restructured internal handling of XML based maps +- Feature: Switched from QSimpleTextItem to QTextItem for Freemind + support +- Feature: Import of Freemind maps +- Feature: Extended fileformat with object IDs to ease export from + tomboy to vym +- Feature: Completed german translation +- Feature: Center on selection with "." +- Feature: Most important exports can be scripted now +- Feature: Creating new map with selection as MapCenter +- Feature: Simple export to CSV spreadsheet +- Feature: Copy from past steps in history to current one +- Feature: Editing of frame attributes in branch property window +- Feature: autosave +- Feature: number of undo/redo levels can be changed in settings +- Feature: branch property window settings are saved +- Feature: Added basic macros and documentation +- Feature: Color of selection can be changed now +- Feature: Pen and brush for frames can be set +- Feature: Simple Editor for scripts +- Feature: Added syntax highlighting for editor +- Feature: Unscroll all now only affects selected subtree +- Feature: Modifier Modes now change cursor when CTRL is pressed +- Feature: vym opens spanish documentation, if locale is es* +- Feature: New Frame format +- Feature: Properties dialog for branches instead of context menu entries +- Feature: Only one history window for all editors. State is saved. +- Feature: Canvas ported to QT 4.2 GraphicsView +- Feature: Options to use AntiaAliasing and smooth pixmap + transformations +- Feature: Thick links use polygons now, less objects in scene +- Feature: More undo commands (and fixes there) +- Feature: Note Editor completly based on QT4 now. +- Feature: Opening of all URLs in a subtree +- Feature: Opening of all vymLinks in a subtree +- Feature: Changed format of configuration file a bit (new file anyway + with introduction of QT4) +- Feature: Toolbar Layout is saved now +- Feature: Moved floats in XML Export, e.g. XHTML shows floatimages at + +- Bugfix: Added missing standard flag (one of the smileys got lost) +- Bugfix: Wrong parsing of relative positions after load of + previously zoomed map +- Bugfix: Smother parabel links (Alexander Rettig) +- Bugfix: Workaround for wrong XML generated by QT with in QRichText + list items +- Bugfix: No output from tags in ASCII export any longer +- Bugfix: Don't ask for directory in XML-based exports like + KDE-bookmarks +- Bugfix: auto-select/auto-edit new branches +- Bugfix: Visibility of BranchProperty window is saved now +- Bugfix: Undo/Redo dropping images into map +- Bugfix: Undo/Redo of copy/paste steps +- Bugfix: NoteEditor now appears on first click (not 2nd) +- Bugfix: Disable autosave while there are redos available +- Bugfix: After changing link color, that color is applied to all links + now +- Bugfix: Pasting of FIOs +- Bugfix: No selection of branches while editing heading +- Bugfix: geometry of selection box gets updated while setting scroll or + hide flag +- Bugfix: Possible segfault when redoing deleteChilds() +- Bugfix: autosave timeout now read from settings file +- Bugfix: Settings for historywindow correclty read now +- Bugfix: Closing property window toggle corresponding button +- Bugfix: Unscroll all childs has saveState now +- Bugfix: Invisible selection after switching mapeditor +- Bugfix: For frames the links always were drawn at bottom of heading +- Bugfix: BranchPropertyWindow updates when selection is changed +- Bugfix: Crash when trying to temporary link to floatimage +- Bugfix: Drawing error when temporary linking subtrees +- Bugfix: Import of KDE Bookmarks +- Bugfix: Export to KDE Bookmarks +- Bugfix: Export to XHTML +- Bugfix: Drag and Drop of URLs now only creates one branch +- Bugfix: Remember last directory before ASCII/LaTeX export +- Bugfix: Editing in NoteEditor now updates actions (save) again +- Bugfix: Deleting last branch automatically unscrolls parent now +- Bugfix: Scroll/Unscroll has undo/redo now +- Bugfix: xml-parsing code simplified +- Bugfix: Fixed pretty annoying repositioning of view after editing a + heading. (don't call show() before positioning in heading...) +- Bugfix: Wrong Cursors after pressing CTRL and inserting/relinking +- Bugfix: Save PNG images with quality 100 to workaround image problems +- Bugfix: Remember last directory before XML export +- Bugfix: move branch up/down calls scene()->update() now => much faster +- Bugfix: Relinking of floatimages undo/redo +- Bugfix: printing scales correctly again +- Bugfix: Drag & Drop (basically) works again +- Bugfix: Crash caused by BranchObj::getLastSelected +- Bugfix: Signal handling by changes in TextEditor: Much faster now +- Bugfix: printing is working again +- Bugfix: move up/down to next subtree is working again +- Bugfix: Flags are working again +- Bugfix: Floatimages have correct select box again +- Bugfix: Image format is saved with floatimage +- Bugfix: New recent file handling, fixes crash on Mac OS X +- Bugfix: Position of floatimages is saved again +- Bugfix: Position of floatimages survives adjustCanvasSize() +- Bugfix: Adding branch to scrolled branch unscroll the former +- Bugfix: More undo commands (removed saveStateComplete) +- Bugfix: No more hopping around of floats, when canvas is resized + (by using relative positions for mainbranches. This might + confuse parsing 1.8.56 documents with vym <= 1.8.1 +- Bugfix: Mac - XSL stylesheets are found +- Bugfix: Mac - fonts are scaling +- Bugfix: Mac - hand cursor is shown correctly +- Bugfix: Undo/Redo moving floatimages +- Bugfix: Shortcuts for scrolling branches/removing branch +- Bugfix: update-bookmarks script is not only executed, but + also found now... +- Bugfix: More undo/redo (move of floatimages, relinking of branches) +- Bugfix: More undo/redo commands +- Bugfix: Actions updated after moving a branch now +- Bugfix: vym refuses to start if vymTmpDir can't be created +- Bugfix: Editing headings now works both on Mac and Linux + beginning of export now +- Bugfix: Floatimages internally are saved as png, preserving the alpha + channel +- Bugfix: Fixed broken check for non-existent OO-export configuration + diff --git a/aboutdialog.cpp b/aboutdialog.cpp new file mode 100644 index 0000000..39b5243 --- /dev/null +++ b/aboutdialog.cpp @@ -0,0 +1,234 @@ +#include +#include +#include + +#include "aboutdialog.h" +#include "settings.h" + + +extern Settings settings; +extern QString iconPath; +extern QString vymVersion; +extern QString vymBuildDate; +extern QString vymCodeName; + +AboutDialog::AboutDialog( QWidget *parent, const char *name) + : QDialog( parent, name) +{ + + mainLayout=new QVBoxLayout( this, 10); + + tabs=new QTabWidget (this); + credits=new AboutTextBrowser (parent,"credits"); + + credits->setHtml( + "
" + "

VYM - View Your Mind

" + "

A tool to put the things you have got in your mind into a map.

" + "

(c) by Uwe Drechsel (vym@InSilmaril.de)

" + "

Version " +vymVersion+" - " +vymBuildDate+"

" + "

" +vymCodeName+"

" + "
    " + "
  • Contact
  • " + "" + "
  • Credits " + "
      " + "
    • Documentation" + "
        " + "
      • Peter Adams: documentation proofreading and polishing
      • " + "
      " + "
    • " + "
    • Translation" + "
        " + "
      • Spanish: " + " ACLibre (Academia y Conocimiento Libre)
      • " + "
      • French: Philippe Caillaud and Claude
      • " + "
      • Italian: Seyed Puria Nafisi Azizi
      • " + "
      • Brasilian: Amadeu Júnior
      • " + "
      • Russion: Anton Olenev
      • " + "
      • Simplified Chinese: Moligaloo
      • " + "
      " + "
    • " + "
    • Patches" + "
        " + "
      • Konstantin Goudkov: sort branches
      • " + "
      • Jakob Hilmer: image drag and drop in 1.8.1, "About vym" window patch
      • " + "
      • Xavier Oswald, Christoph Thielecke and Steffen Joeris: Debian packaging
      • " + "
      • Andrew Ng, Juha Ruotsalainen and Thomas Kriener: Windows
      • " + "
      • Matt from www.satbp.com: " + " Taskjuggler export
      • " + "
      • Thomas Schraitle for the stylesheet" + " used for XHTML-export and help with XML processing in general
      • " + "
      " + "
    • " + "
    • General" + "
        " + "
      • Olaf Hering for support with my Powerbook
      • " + "
      • All the guys at Trolltech for their Qt toolkit
      • " + "
      • All the guys at SuSE for their Linux and support," + " e.g. to get Linux running on PowerPC and also Macbooks
      • " + "
      " + "
    • " + "
    " + "
  • "); + credits->setFrameStyle( QFrame::Panel | QFrame::Plain ); + tabs->addTab (credits,"Credits"); + + license=new AboutTextBrowser (parent,"license"); + license->setText ( + "
    " + "

    VYM - View Your Mind

    " + "

    Copyright (C) 2004-2007 Uwe Drechsel

    " + "
    " + + "

    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

    " + + "

    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License below for more details.

    " + + "

    In addition, as a special exception, Uwe Drechsel gives permission to link the code of this program with the QT libraries from trolltech.com (or with modified versions of QT that use the same license as QT), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than QT. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

    " + + "

    Uwe Drechsel can be contacted at vym@insilmaril.de

    " + + "
    " + + "

    GNU GENERAL PUBLIC LICENSE
    " +"Version 2, June 1991

    " + +"

    Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

    " + +"

    Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

    " + +"

    Preamble

    " + +"

    The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.

    " + +"

    When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.

    " + +"

    To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.

    " + +"

    For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.

    " + +"

    We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.

    " + +"

    Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.

    " + +"

    Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.

    " + +"

    The precise terms and conditions for copying, distribution and modification follow.

    " + +"

    GNU GENERAL PUBLIC LICENSE

    " +"

    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

    " + +"

    0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The \"Program\", below, refers to any such program or work, and a \"work based on the Program\" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term \"modification\".) Each licensee is addressed as \"you\".

    " + +"

    Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.

    " + +"

    1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.

    " + +"

    You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.

    " + +"

    2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:" +"

      " + "
    1. You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
    2. " + + "
    3. You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
    4. " + + "
    5. If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
    6. " +"
    " +"

    " + +"

    These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.

    " + +"

    Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.

    " + +"

    In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.

    " + +"

    3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:" "

      " + +"
    1. Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
    2. " + +"
    3. Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
    4. " + +"
    5. Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
    6. " +"

    " + +"

    The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.

    " + +"

    If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.

    " + +"

    4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.

    " + +"

    5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.

    " + +"

    6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.

    " + +"

    7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.

    " + +"

    If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.

    " + +"

    It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.

    " + +"

    This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.

    " + +"

    8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.

    " + +"

    9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

    " + +"

    Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and \"any later version\", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.

    " + +"

    10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.

    " + +"

    NO WARRANTY

    " + +"

    11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

    " + +"

    12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

    " + +"

    END OF TERMS AND CONDITIONS

    " + + ); + credits->setFrameStyle( QFrame::Panel | QFrame::Plain ); + tabs->addTab (license,"License"); + + mainLayout->addWidget (tabs); + tabs->showPage (credits); + + okbutton =new QPushButton (this,"okbutton"); + okbutton->setText (tr("Ok","Ok Button")); + okbutton->setMaximumSize (QSize (50,30)); + okbutton->setAutoDefault (true); + mainLayout->addWidget( okbutton); + + connect( okbutton, SIGNAL( clicked() ), this, SLOT( accept() ) ); +} + +AboutTextBrowser::AboutTextBrowser(QWidget *parent, const char *name) + : QTextBrowser(parent, name) +{ + +} + +void AboutTextBrowser::setSource(const QUrl &url ) +{ + QProcess *proc= new QProcess (); + proc->start( settings.value("/mainwindow/readerURL").toString(),QStringList ()<waitForStarted() &&mainWindow->settingsURL() ) setSource(url); + if (!proc->waitForStarted() ) + QMessageBox::warning(0, + tr("Warning","About window"), + tr("Couldn't find a viewer to open %1.\n","About window").arg(url)+ + tr("Please use Settings->")+tr("Set application to open an URL")); + +} diff --git a/aboutdialog.h b/aboutdialog.h new file mode 100644 index 0000000..d1fa89e --- /dev/null +++ b/aboutdialog.h @@ -0,0 +1,72 @@ +#ifndef ABOUTDIALOG_H +#define ABOUTDIALOG_H + +#include +#include +#include +#include +#include +#include +#include + +class AboutTextBrowser; + +/*! \mainpage View Your Mind - Development documentation + + \section intro_sec Introduction + +VYM (View Your Mind) is a tool to generate and manipulate maps which +show your thoughts. Such maps can help you to improve your creativity +and effectivity. You can use them for time management, to organize +tasks, to get an overview over complex contexts, to sort your ideas +etc. Some people even think it is fun to work with such maps... + + + \section install_sec Installation + + Please look at the INSTALL.TXT file + + \section doc_sec Documentation + + The complete documentation is available as a PDF file. Please look + into the doc subdirectory. + +*/ + + + +/*! \brief Dialog showing authors, version and license +*/ + + +class AboutDialog :public QDialog +{ + Q_OBJECT + +public: + AboutDialog(QWidget* parent = 0, const char* name = 0); + +private: + QTabWidget *tabs; + AboutTextBrowser *credits; + AboutTextBrowser *license; + + QLayout *mainLayout; + QLayout *topLayout; + QLayout *bottomLayout; + QPushButton *okbutton; + +}; + +/*! \brief Overloaded QTextBrowser which is used in AboutDialog +*/ +class AboutTextBrowser : public QTextBrowser +{ + Q_OBJECT; + public: + AboutTextBrowser(QWidget *parent, const char *name = 0); + public slots: + virtual void setSource(const QUrl &url); +}; + +#endif diff --git a/animpoint.cpp b/animpoint.cpp new file mode 100644 index 0000000..a30df95 --- /dev/null +++ b/animpoint.cpp @@ -0,0 +1,131 @@ +#include "animpoint.h" + +#include + +AnimPoint::AnimPoint() +{ + init(); +} + +void AnimPoint::operator= ( const AnimPoint & other ) +{ + copy (other); +} + +void AnimPoint::operator= ( const QPointF & other ) +{ + init(); + setX (other.x() ); + setY (other.x() ); +} + +bool AnimPoint::operator== ( const QPointF& other ) +{ + QPointF p( x(),y()); + return p == other; +} + +bool AnimPoint::operator== ( AnimPoint other ) +{ + if (rx() != other.rx() ) return false; + if (ry() != other.ry() ) return false; + if (startPos != other.startPos) return false; + if (destPos != other.destPos) return false; + if (animated != other.animated ) return false; + + return true; +} + +void AnimPoint::init () +{ + animated=false; + n=0; + startPos=QPointF(0,0); + destPos=QPointF(0,0); + vector=QPointF(0,0); + animTicks=10; +} + +void AnimPoint::copy (AnimPoint other) +{ + setX (other.x() ); + setY (other.x() ); + startPos=other.startPos; + destPos=other.destPos; + vector=other.vector; + animated=other.animated; + n=other.n; + animTicks=other.animTicks; +} + +void AnimPoint::setStart(const QPointF &p) +{ + startPos=p; + initVector(); +} + +QPointF AnimPoint::getStart() +{ + return startPos; +} + + +void AnimPoint::setDest(const QPointF &p) +{ + destPos=p; + initVector(); +} + +QPointF AnimPoint::getDest() +{ + return destPos; +} + +void AnimPoint::setTicks (const uint &t) +{ + animTicks=t; +} + +uint AnimPoint::getTicks() +{ + return animTicks; +} + +void AnimPoint::setAnimated(bool b) +{ + animated=b; + if (b) n=0; +} + +bool AnimPoint::isAnimated() +{ + return animated; +} + +bool AnimPoint::animate() +{ + if (!animated) return animated; + n++; + if (n>animTicks) + { + vector=QPointF(0,0); + animated=false; + return animated; + } + + // Some math slow down the movement + qreal f=1-n/animTicks; + qreal ff=1-f*f*f; + setX (startPos.x() + vector.x()*ff ); + setY (startPos.y() + vector.y()*ff ); + + return animated; +} + +void AnimPoint::initVector() +{ + vector.setX (destPos.x()-startPos.x() ); + vector.setY (destPos.y()-startPos.y() ); +} + + diff --git a/animpoint.h b/animpoint.h new file mode 100644 index 0000000..2e29673 --- /dev/null +++ b/animpoint.h @@ -0,0 +1,38 @@ +#ifndef ANIMPOINT_H +#define ANIMPOINT_H + +#include + +class AnimPoint: public QPointF +{ +public: + AnimPoint(); + void operator= ( const AnimPoint & ); + void operator= ( const QPointF & ); + bool operator== ( const QPointF & ); + bool operator== ( AnimPoint ); + void init(); + void copy(AnimPoint other); + void setStart (const QPointF &); + QPointF getStart(); + void setDest (const QPointF &); + QPointF getDest(); + void setTicks (const uint &t); + uint getTicks(); + void setAnimated(bool); + bool isAnimated (); + bool animate(); + +private: + void initVector(); + + QPointF startPos; + QPointF destPos; + QPointF vector; + qreal n; + qreal animTicks; + bool animated; + +}; + +#endif diff --git a/attribute.cpp b/attribute.cpp new file mode 100644 index 0000000..296d164 --- /dev/null +++ b/attribute.cpp @@ -0,0 +1,295 @@ +#include + +#include "attribute.h" + +using namespace std; + +extern bool debug; + +Attribute::Attribute() +{ + table=NULL; + definition=NULL; +} + +void Attribute::setKey (const QString &k, const AttributeType &t) +{ + if (!table) + { + qWarning (QString("Attribute::setKey (%1) No table defined!\n").arg(k).ascii()); + return; + } + + if (!definition) + { + definition=table->getDef(k); + if (!definition) + { + table->addKey (k,t); + return; + } + } + qWarning (QString("Attribute::setKey (%1) attribute already defined!\n").arg(k).ascii()); +} + +QString Attribute::getKey () +{ + if (!table) + { + qWarning ("Attribute::getKey () No table defined!"); + return QString(); + } + if (!definition) + { + qWarning ("Attribute::getKey () No attribute defined!"); + return QString (); + } + return definition->getKey(); +} + +void Attribute::setValue(const QString &v) +{ + if (!table) + { + qWarning (QString ("Attribute::setValue (%1) No table defined!").arg(v)); + return; + } + if (!definition) + { + qWarning (QString ("Attribute::setValue (%1) No attribute defined!").arg(v)); + return; + } + definition->setValue (v); +} + +QVariant Attribute::getValue() +{ + if (!table) + { + qWarning ("Attribute::getValue No table defined!"); + return QString(); + } + if (!definition) + { + qWarning ("Attribute::getValue No attribute defined!"); + return QString(); + } + QVariant v= definition->getValue(); + return v; +} + +void Attribute::setType (const AttributeType &t) +{ + if (!table) + { + qWarning ("Attribute::setType No table defined!"); + return; + } + if (!definition) + { + qWarning ("Attribute::setType No attribute defined!"); + return; + } + definition->setType (t); +} + +AttributeType Attribute::getType() +{ + if (!table) + { + qWarning ("Attribute::getType No table defined!"); + return Undefined; + } + if (!definition) + { + qWarning ("Attribute::getType No attribute defined!"); + return Undefined; + } + return definition->getType(); +} + +QString Attribute::getTypeString() +{ + if (!table) + { + qWarning ("Attribute::getTypeString No table defined!"); + return "Undefined"; + } + if (!definition) + { + qWarning ("Attribute::getTypeString No attribute defined!"); + return "Undefined"; + } + return definition->getTypeString(); +} + +void Attribute::setTable (AttributeTable *at) +{ + if (at) + table=at; + else + qWarning ("Attribute::setTable table==NULL"); + +} + +AttributeTable* Attribute::getTable() +{ + return table; +} + +QString Attribute::getDataXML() +{ + QString a=beginElement ("attribute"); + a+=attribut ("key",getKey()); + a+=attribut ("value",getValue().toString() ); + a+=attribut ("type",getTypeString () ); + return a; +} + + +/////////////////////////////////////////////////////////////// +AttributeDef::AttributeDef() +{ +} + +AttributeDef::~AttributeDef() +{ +} + +void AttributeDef::setType (const AttributeType &t) +{ + type=t; +} + +AttributeType AttributeDef::getType () +{ + return type; +} + +QString AttributeDef::getTypeString () +{ + if (type==StringList) + return "StringList"; + else if (type==FreeString) + return "FreeString"; + else if (type==UniqueString) + return "UniqueString"; + return "Undefined"; +} + +void AttributeDef::setKey (const QString &k) +{ + key=k; +} + +void AttributeDef::setValue (const QString &v) +{ +} + +void AttributeDef::setValue (const QVariant &v) +{ + if (type==Undefined) + qWarning ("AttributeDef::setValue No type defined!"); + else if (type==StringList) + value=v; + else if (type==UniqueString) + value=v; + else + qWarning ("AttributeDef::setValue Unknown type???"); + +} + +QVariant AttributeDef::getValue () +{ + return QVariant (); +} + +QString AttributeDef::getKey () +{ + return key; +} + +/////////////////////////////////////////////////////////////// +AttributeTable::AttributeTable() +{ + typeList + << "Undefined" + << "IntList" + << "FreeInt" + << "StringList" + << "FreeString" + << "UniqueString"; +} + +AttributeTable::~AttributeTable() +{ + clear(); +} + +void AttributeTable::clear () +{ + attdefs.clear(); +} + +AttributeDef* AttributeTable::addKey (const QString &k, const AttributeType &t) +{ + for (int i=0; igetKey()==k ) + { + qWarning (QString ("AttributeTable::addKey (%1) already in table\n").arg(k).ascii()); + return NULL; + } + } + AttributeDef *ad=new AttributeDef; + ad->setKey (k); + ad->setType (t); + attdefs.append (ad); + return ad; +} + +void AttributeTable::removeKey (const QString &k) +{ + for (int i=0; igetKey()==k ) + { + + delete (attdefs.at(i)); + attdefs.removeAt (i); + return ; + } + } + qWarning (QString ("AttributeTable::removeKey (%1) key not in table\n").arg(k).ascii()); +} + +AttributeDef* AttributeTable::getDef(const QString &key) +{ + for (int i=0; igetKey()==key ) return attdefs.at(i); + qWarning (QString ("AttributeTable::getDef (%1) key not in table\n").arg(key).ascii()); + return NULL; +} + +int AttributeTable::countKeys() +{ + return attdefs.count(); +} + +QStringList AttributeTable::getKeys () +{ + QStringList kl; + for (int i=0; igetKey()); + return kl; +} + +QStringList AttributeTable::getTypes () +{ + return typeList; +} + +QString AttributeTable::getDataXML() +{ + return valueElement ("attributeList","key","value"); +} diff --git a/attribute.h b/attribute.h new file mode 100644 index 0000000..5667e88 --- /dev/null +++ b/attribute.h @@ -0,0 +1,93 @@ +#ifndef ATTRIBUTE_H +#define ATTRIBUTE_H + +#include +#include + +#include "xmlobj.h" + +class AttributeTable; +class AttributeDef; + +enum AttributeType { + Undefined, //!< Undefined type + IntList, //!< Free integer + FreeInt, //!< Free integer + StringList, //!< List of strings, one can be attribute value + FreeString, //!< Any string can be attribute value, not unique + UniqueString//!< UniqueString, e.g. for IDs +}; + +/*! \brief A key and a value + The data itself is stored in Attribute Definitions (AttributeDef). + A list of these tables AttributeTable is maintained for every MapEditor. +*/ +class Attribute:public XMLObj { +public: + Attribute(); + void setKey (const QString &k, const AttributeType &t); + QString getKey (); + void setValue (const QString &v); + QVariant getValue (); + void setType (const AttributeType &t); + AttributeType getType (); + QString getTypeString (); + void setTable (AttributeTable *at); + AttributeTable* getTable(); + QString getDataXML(); +protected: + AttributeTable *table; + AttributeDef *definition; + QString freeString; //!< String value for type FreeString +}; + + +/*! \brief + Attribute definition, defines possible values and type of attribute. +*/ +class AttributeDef { +public: + AttributeDef(); + ~AttributeDef(); + void setType (const AttributeType &t); + AttributeType getType(); + QString getTypeString (); + void setKey (const QString &k); + QString getKey (); + void setValue (const QString &v); + void setValue (const QVariant &v); + QVariant getValue (); +private: + QString key; + AttributeType type; + + QVariant value; //!< value (except FreeString, FreeInt ... +}; + +/*! \brief A table containing a list of keys and each of these keys has + a list of default values. The keys and the values for each key are + unique. +*/ + +class AttributeTable:public XMLObj{ +public: + AttributeTable(); + ~AttributeTable(); + void clear(); + AttributeDef* addKey (const QString &k, const AttributeType &t); //!< Adds a key to the table + void removeKey (const QString &k); //!< Removes key and its default values + AttributeDef* getDef(const QString &k); //!< Get defintion of attribute + int countKeys(); //!< Return number of keys + QStringList getKeys (); + QStringList getTypes(); + QString getDataXML(); + +protected: + QList attdefs; + QStringList typeList; +}; + + + +#endif + diff --git a/attributedelegate.cpp b/attributedelegate.cpp new file mode 100644 index 0000000..3d6a728 --- /dev/null +++ b/attributedelegate.cpp @@ -0,0 +1,138 @@ +#include + +#include "attributedelegate.h" +#include + +using namespace::std; + +AttributeDelegate::AttributeDelegate(QObject *parent) + : QItemDelegate(parent) +{ +} + +QWidget *AttributeDelegate::createEditor(QWidget *parent, + const QStyleOptionViewItem &/* option */, + const QModelIndex & index ) const +{ + int col=index.column(); + int row=index.row(); + + if (col==0 && row==index.model()->rowCount() -1 ) + { + //We are editing a new attribute, starting with attribute name + QComboBox *editor = new QComboBox(parent); + editor->insertItems (0,attributeTable->getKeys()); + return editor; + } + if (col==1 && row==index.model()->rowCount() -1 ) + { + cout << "Edit value now..."<insertItems (0,attributeTable->getKeys()); + return editor; + + } + + // Is there already an atttribute defined or + // do we need to create a new one? + + QVariant var=index.model()->data(index.model()->index(row,2,QModelIndex())); + QString typeName=var.toString(); + cout << "AttrDel::createEditor type="<setMinimum(0); + editor->setMaximum(5); + return editor; + } else if (typeName=="FreeInt") + { + QSpinBox *editor = new QSpinBox(parent); + editor->setMinimum(0); + editor->setMaximum(100); + return editor; + } else if (typeName=="FreeString") + { + QComboBox *editor = new QComboBox(parent); + return editor; + } else if (typeName=="StringList") + { + QComboBox *editor = new QComboBox(parent); + return editor; + } + + return NULL; +} + +void AttributeDelegate::setEditorData(QWidget *editor, + const QModelIndex &index) const +{ + QVariant value= index.model()->data(index, Qt::DisplayRole); + switch (value.type()) + { + case QVariant::Int: + { + int value = index.model()->data(index, Qt::DisplayRole).toInt(); + QSpinBox *spinBox = static_cast(editor); + spinBox->setValue(value); + break; + } + /* + { + QString value = index.model()->data(index, Qt::DisplayRole).toString(); + QLineEdit *le= static_cast(editor); + le->setText(value); + break; + } + */ + case QVariant::String: + { + QComboBox *cb= static_cast(editor); + QStringList sl; + sl<< index.model()->data(index, Qt::DisplayRole).toString(); + cb->insertStringList (sl); + break; + } + default: + break; + } +} + +void AttributeDelegate::setModelData(QWidget *editor, QAbstractItemModel *model, + const QModelIndex &index) const +{ + QVariant value= index.model()->data(index, Qt::DisplayRole); + switch (value.type()) + { + case QVariant::Int: + { + QSpinBox *spinBox = static_cast(editor); + spinBox->interpretText(); + model->setData(index, spinBox->value(), Qt::EditRole); + break; + } + case QVariant::String: + { + QComboBox *cb = static_cast(editor); + model->setData(index, cb->currentText(), Qt::EditRole); + break; + } + default: + break; + } + +} + +void AttributeDelegate::updateEditorGeometry(QWidget *editor, + const QStyleOptionViewItem &option, const QModelIndex &/* index */) const +{ + editor->setGeometry(option.rect); +} + +void AttributeDelegate::setAttributeTable (AttributeTable *table) +{ + attributeTable=table; +} + diff --git a/attributedelegate.h b/attributedelegate.h new file mode 100644 index 0000000..d11c444 --- /dev/null +++ b/attributedelegate.h @@ -0,0 +1,37 @@ + +#ifndef ATTRIBUTEDELEGATE_H +#define ATTRIBUTEDELEGATE_H + +#include +#include +#include +#include +#include +#include + +#include "attribute.h" + +class AttributeDelegate : public QItemDelegate +{ + Q_OBJECT + +enum EditorType {Undefined,SpinBox,LineEdit,ComboBox}; + +public: + AttributeDelegate(QObject *parent = 0); + + QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, + const QModelIndex &index) const; + + void setEditorData(QWidget *editor, const QModelIndex &index) const ; + void setModelData(QWidget *editor, QAbstractItemModel *model, + const QModelIndex &index) const ; + + void updateEditorGeometry(QWidget *editor, + const QStyleOptionViewItem &option, const QModelIndex &index) const; + void setAttributeTable(AttributeTable *table); +private: + AttributeTable *attributeTable; +}; + +#endif diff --git a/attributedialog.cpp b/attributedialog.cpp new file mode 100644 index 0000000..10341c4 --- /dev/null +++ b/attributedialog.cpp @@ -0,0 +1,118 @@ +#include "attributedialog.h" + +#include "attributewidget.h" + +#include +#include + +AttributeDialog::AttributeDialog (QWidget *parent):QDialog (parent) +{ + if (this->objectName().isEmpty()) + this->setObjectName(QString::fromUtf8("AttributeDialog")); + QSize size(468, 75); + size = size.expandedTo(this->minimumSizeHint()); + this->resize(size); + QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred); + sizePolicy.setHorizontalStretch(0); + sizePolicy.setVerticalStretch(0); + sizePolicy.setHeightForWidth(this->sizePolicy().hasHeightForWidth()); + this->setSizePolicy(sizePolicy); + + vboxLayout = new QVBoxLayout(this); + vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); + + tableLayout = new QVBoxLayout(); + tableLayout->setObjectName(QString::fromUtf8("tableLayout")); + + hboxLayout = new QHBoxLayout(); + hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); + addButton = new QPushButton(this); + addButton->setObjectName(QString::fromUtf8("addButton")); + + hboxLayout->addWidget(addButton); + + spacerItem = new QSpacerItem(111, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); + + hboxLayout->addItem(spacerItem); + + closeButton = new QPushButton(this); + closeButton->setObjectName(QString::fromUtf8("closeButton")); + + hboxLayout->addWidget(closeButton); + + vboxLayout->addLayout(tableLayout); + vboxLayout->addLayout(hboxLayout); + + + + setWindowTitle(QApplication::translate("AttributeDialog", "Attributes", 0, QApplication::UnicodeUTF8)); + addButton->setText(QApplication::translate("AttributeDialog", "Add key", 0, QApplication::UnicodeUTF8)); + closeButton->setText(QApplication::translate("AttributeDialog", "Close", 0, QApplication::UnicodeUTF8)); + + connect (addButton, SIGNAL (clicked()), this, SLOT (addKey())); + connect (closeButton, SIGNAL (clicked()), this, SLOT (accept())); + + table=NULL; +} + +void AttributeDialog::setTable (AttributeTable *t) +{ + table=t; +} + +void AttributeDialog::setBranch (BranchObj *bo) +{ + branch=bo; +} + +void AttributeDialog::setMode (const AttributeDialogMode &m) +{ + mode=m; + + QString title; + if (mode==Definition) + title= QApplication::translate("Attribute Dialog","AttributeDialog - Edit definitions", 0, QApplication::UnicodeUTF8); + else + title= QApplication::translate("Attribute Dialog","AttributeDialog - Edit %1", 0, QApplication::UnicodeUTF8).arg("objname"); + setWindowTitle(title); +} + +void AttributeDialog::updateTable() +{ + if (table) + { + // Update list of keys and values + QStringList keyList=table->getKeys(); + AttributeWidget *aw; + for (int i=0; isetKey (keyList.at(i) ); + // FIXME aw->setValues (table->getValues (keyList.at(i) )); + aw->show(); + tableLayout->addWidget (aw); + } + + // Update attributes in dialog from data in selected branch + + // TODO + } + +} +void AttributeDialog::addKey() +{ + AttributeWidget *aw1=new AttributeWidget (this); + aw1->show(); + tableLayout->addWidget (aw1); + +} + +void AttributeDialog::closeEvent( QCloseEvent* ce ) +{ + ce->accept(); // can be reopened with show() + hide(); + emit (windowClosed() ); + return; +} + + diff --git a/attributedialog.h b/attributedialog.h new file mode 100644 index 0000000..e00273e --- /dev/null +++ b/attributedialog.h @@ -0,0 +1,49 @@ +#ifndef ATTRIBUTEDIALOG_H +#define ATTRIBUTEDIALOG_H + +#include "attribute.h" +#include "branchobj.h" + +#include +#include +#include +#include +#include +#include + + +/*! \brief Set the dialog mode */ +enum AttributeDialogMode { + Definition, //!< Edit attribute definitions (AttributeDef) + Object //!< Edit attributes of OrnamentedObj +}; + +class AttributeDialog:public QDialog +{ + Q_OBJECT +public: + AttributeDialog (QWidget *parent=0 ); + void setTable (AttributeTable *table=0); + void setBranch (BranchObj *bo); + void setMode (const AttributeDialogMode &m); + void updateTable(); +signals: + void windowClosed(); +private slots: + void addKey(); +protected: + void closeEvent(QCloseEvent*); +private: + QVBoxLayout *vboxLayout; + QVBoxLayout *tableLayout; + QHBoxLayout *hboxLayout; + QPushButton *addButton; + QSpacerItem *spacerItem; + QPushButton *closeButton; + + AttributeDialogMode mode; + AttributeTable *table; + BranchObj *branch; +}; + +#endif diff --git a/attributedialog.ui b/attributedialog.ui new file mode 100644 index 0000000..fc16698 --- /dev/null +++ b/attributedialog.ui @@ -0,0 +1,60 @@ + + AttributeDialog + + + + 0 + 0 + 468 + 75 + + + + + 0 + 0 + + + + Attributes + + + + + + + + + + + Add key + + + + + + + Qt::Horizontal + + + + 111 + 20 + + + + + + + + Close + + + + + + + + + + diff --git a/attributewidget.cpp b/attributewidget.cpp new file mode 100644 index 0000000..fcb2ad4 --- /dev/null +++ b/attributewidget.cpp @@ -0,0 +1,39 @@ +#include "attributewidget.h" + +AttributeWidget::AttributeWidget (QWidget *parent):QWidget (parent) +{ + ui.setupUi (this); + //ui.keyComboBox->setEditable (true); + ui.valueComboBox->setEditable (true); +} + +void AttributeWidget::setTable(AttributeTable *at) +{ + table=at; +} + +void AttributeWidget::setKey (const QString &k) +{ + key=k; + ui.keyComboBox->insertItem (ui.keyComboBox->count(), key); +} + +void AttributeWidget::setValues(const QStringList &vl) +{ + ui.valueComboBox->clear(); + ui.valueComboBox->insertStringList(vl); +} + +/* +void AttributeWidget::setValue (const QString &v) +{ +} +*/ + +void AttributeWidget::keyTextChanged(const QString &t) +{ +} + +void AttributeWidget::valueTextChanged(const QString &t) +{ +} diff --git a/attributewidget.h b/attributewidget.h new file mode 100644 index 0000000..baa48c5 --- /dev/null +++ b/attributewidget.h @@ -0,0 +1,28 @@ +#ifndef ATTRIBUTEWIDGET_H +#define ATTRIBUTEWIDGET_H + +#include "ui_attributewidget.h" + +#include "attribute.h" + +#include + +class AttributeWidget: public QWidget +{ + Q_OBJECT +public: + AttributeWidget (QWidget *parent=0); + void setTable (AttributeTable *at=0); + void setKey (const QString &k); + void setValues (const QStringList &vl); + +public slots: + virtual void keyTextChanged(const QString &t); + virtual void valueTextChanged(const QString &t); + +private: + Ui::AttributeWidget ui; + AttributeTable *table; + QString key; +}; +#endif diff --git a/attributewidget.ui b/attributewidget.ui new file mode 100644 index 0000000..67fc60b --- /dev/null +++ b/attributewidget.ui @@ -0,0 +1,50 @@ + + AttributeWidget + + + + 0 + 0 + 400 + 115 + + + + Form + + + + 0 + + + + + + + + + + + + + 0 + 0 + + + + + + + + + 0 + 0 + + + + + + + + + diff --git a/branchobj.cpp b/branchobj.cpp new file mode 100644 index 0000000..a502d7f --- /dev/null +++ b/branchobj.cpp @@ -0,0 +1,1629 @@ +#include "branchobj.h" + +// #include "texteditor.h" +#include "geometry.h" +#include "mapeditor.h" +#include "mainwindow.h" +#include "misc.h" + +class TextEditor; + +extern TextEditor *textEditor; +extern Main *mainWindow; +extern FlagRowObj *standardFlagsDefault; + + +///////////////////////////////////////////////////////////////// +// BranchObj +///////////////////////////////////////////////////////////////// + +BranchObj* BranchObj::itLast=NULL; +BranchObj* BranchObj::itFirst=NULL; + + +BranchObj::BranchObj () :OrnamentedObj() +{ +// cout << "Const BranchObj ()\n"; + setParObj (this); + init(); + depth=-1; +} + +BranchObj::BranchObj (QGraphicsScene* s):OrnamentedObj (s) +{ +// cout << "Const BranchObj (s) called from MapCenterObj (s)\n"; + parObj=NULL; + scene=s; +} + +BranchObj::BranchObj (QGraphicsScene* s, LinkableMapObj* p):OrnamentedObj (s) +{ +// cout << "Const BranchObj (s,p)\n"; + scene=s; + setParObj (p); + depth=p->getDepth()+1; + if (depth==1) + // Calc angle to mapCenter if I am a mainbranch + // needed for reordering the mainbranches clockwise + // around mapcenter + angle=getAngle (QPointF (x() - parObj->getChildPos().x() , + (y() - parObj->getChildPos().y() ) ) ); + init(); +} + +BranchObj::~BranchObj () +{ + // If I'm animated, I need to un-animate myself first + if (anim.isAnimated() ) + { + anim.setAnimated (false); + mapEditor->getModel()->stopAnimation (this); + } + + + //cout << "Destr BranchObj of "<getLastBranch(); + if (bo) po->unScroll(); + } + clear(); +} + +bool BranchObj::operator< ( const BranchObj & other ) +{ + return angle < other.angle; +} + +bool BranchObj::operator== ( const BranchObj & other ) +{ + return angle == other.angle; +} + +void BranchObj::init () +{ + if (parObj) + { + absPos=getRandPos(); + absPos+=parObj->getChildPos(); + } + + lastSelectedBranch=0; + + setChildObj(this); + + scrolled=false; + tmpUnscrolled=false; + + includeImagesVer=false; + includeImagesHor=false; +} + +void BranchObj::copy (BranchObj* other) +{ + OrnamentedObj::copy(other); + + branch.clear(); + for (int i=0; ibranch.size(); ++i) + // Make deep copy of b + // Because addBranch again calls copy for the childs, + // Those will get a deep copy, too + addBranch(other->branch.at(i) ); + + for (int i=0; ifloatimage.size(); ++i) + addFloatImage (other->floatimage.at(i)); + scrolled=other->scrolled; + tmpUnscrolled=other->tmpUnscrolled; + setVisibility (other->visible); + + angle=other->angle; + + positionBBox(); +} + +void BranchObj::clear() +{ + setVisibility (true); + + while (!floatimage.isEmpty()) + delete floatimage.takeFirst(); + + while (!xlink.isEmpty()) + delete xlink.takeFirst(); + + while (!branch.isEmpty()) + delete branch.takeFirst(); +} + +bool isAbove (BranchObj* a, BranchObj *b) +{ + if (a->angle < b->angle) + return true; + else + return false; +} + +int BranchObj::getNum() +{ + if (parObj) + return ((BranchObj*)parObj)->getNum (this); + else + return 0; +} + +int BranchObj::getNum(BranchObj *bo) +{ + return branch.indexOf (bo); +} + +int BranchObj::getFloatImageNum(FloatImageObj *fio) +{ + return floatimage.indexOf(fio); +} + +int BranchObj::countBranches() +{ + return branch.count(); +} + +int BranchObj::countFloatImages() +{ + return floatimage.count(); +} + +int BranchObj::countXLinks() +{ + return xlink.count(); +} + +void BranchObj::setParObjTmp(LinkableMapObj* lmo, QPointF m, int off) +{ + // Temporary link to lmo + // m is position of mouse pointer + // offset 0: default 1: below lmo -1 above lmo (if possible) + + + BranchObj* o=(BranchObj*)(lmo); + if (!parObjTmpBuf) + parObjTmpBuf=parObj; + + // ignore mapcenter and mainbranch + if (lmo->getDepth()<2) off=0; + if (off==0) + link2ParPos=false; + else + link2ParPos=true; + parObj=o; + + depth=parObj->getDepth()+1; + + // setLinkStyle calls updateLink, only set it once + if (style!=getDefLinkStyle() ) setLinkStyle (getDefLinkStyle()); + + // Move temporary to new position at destination + // Usually the positioning would be done by reposition(), + // but then also the destination branch would "Jump" around... + // Better just do it approximately + if (depth==1) + { // new parent is the mapcenter itself + + QPointF p= normalise ( QPointF (m.x() - o->getChildPos().x(), + m.y() - o->getChildPos().y() )); + if (p.x()<0) p.setX( p.x()-bbox.width() ); + move2RelPos (p); + } else + { + qreal y; + if (off==0) + { + // new parent is just a branch, link to it + QRectF t=o->getBBoxSizeWithChilds(); + if (o->getLastBranch()) + y=t.y() + t.height() ; + else + y=t.y(); + + } else + { + if (off<0) + // we want to link above lmo + y=o->y() - height() + 5; + else + // we want to link below lmo + // Bottom of sel should be 5 pixels above + // the bottom of the branch _below_ the target: + // Don't try to find that branch, guess 12 pixels + y=o->getChildPos().y() -height() + 12; + } + if (o->getOrientation()==LinkableMapObj::LeftOfCenter) + move ( o->getChildPos().x() - linkwidth, y ); + else + move (o->getChildPos().x() + linkwidth, y ); + } + + // updateLink is called implicitly in move + requestReposition(); +} + +void BranchObj::unsetParObjTmp() +{ + if (parObjTmpBuf) + { + link2ParPos=false; + parObj=parObjTmpBuf; + parObjTmpBuf=NULL; + depth=parObj->getDepth()+1; + setLinkStyle (getDefLinkStyle() ); + updateLink(); + } +} + +void BranchObj::unScroll() +{ + if (tmpUnscrolled) resetTmpUnscroll(); + if (scrolled) toggleScroll(); +} + +void BranchObj::toggleScroll() +{ + if (scrolled) + { + scrolled=false; + systemFlags->deactivate("scrolledright"); + for (int i=0; isetVisibility(true); + } else + { + scrolled=true; + systemFlags->activate("scrolledright"); + for (int i=0; isetVisibility(false); + } + calcBBoxSize(); + positionBBox(); + move (absPos.x(), absPos.y() ); + forceReposition(); +} + +bool BranchObj::isScrolled() +{ + return scrolled; +} + +bool BranchObj::hasScrolledParent(BranchObj *start) +{ + // Calls parents recursivly to + // find out, if we are scrolled at all. + // But ignore myself, just look at parents. + + if (this !=start && scrolled) return true; + + BranchObj* bo=(BranchObj*)(parObj); + if (bo) + return bo->hasScrolledParent(start); + else + return false; +} + +void BranchObj::tmpUnscroll() +{ + // Unscroll parent (recursivly) + BranchObj* bo=(BranchObj*)(parObj); + if (bo) bo->tmpUnscroll(); + + // Unscroll myself + if (scrolled) + { + tmpUnscrolled=true; + systemFlags->activate("tmpUnscrolledright"); + toggleScroll(); + } +} + +void BranchObj::resetTmpUnscroll() +{ + // Unscroll parent (recursivly) + BranchObj* bo=(BranchObj*)(parObj); + if (bo) + bo->resetTmpUnscroll(); + + // Unscroll myself + if (tmpUnscrolled) + { + tmpUnscrolled=false; + systemFlags->deactivate("tmpUnscrolledright"); + toggleScroll(); + } +} + +void BranchObj::setVisibility(bool v, int toDepth) +{ + if (depth <= toDepth) + { + frame->setVisibility(v); + heading->setVisibility(v); + systemFlags->setVisibility(v); + standardFlags->setVisibility(v); + LinkableMapObj::setVisibility (v); + + // Only change childs, if I am not scrolled + if (!scrolled && (depth < toDepth)) + { + // Now go recursivly through all childs + int i; + for (i=0; isetVisibility (v,toDepth); + for (i=0; isetVisibility (v); + for (i=0; isetVisibility (); + } + } // depth <= toDepth + requestReposition(); +} + +void BranchObj::setVisibility(bool v) +{ + setVisibility (v,MAX_DEPTH); +} + + +void BranchObj::setLinkColor () +{ + // Overloaded from LinkableMapObj + // BranchObj can use color of heading + + if (mapEditor) + { + if (mapEditor->getMapLinkColorHint()==HeadingColor) + LinkableMapObj::setLinkColor (heading->getColor() ); + else + LinkableMapObj::setLinkColor (); + } +} + +void BranchObj::setColorSubtree(QColor col) +{ + setColor (col); + for (int i=0; isetColorSubtree(col); +} + +BranchObj* BranchObj::first() +{ + itLast=NULL; + itFirst=this; + return this; +} + +BranchObj* BranchObj::next() +{ + BranchObj *bo; + BranchObj *lmo; + BranchObj *po=(BranchObj*)parObj; + + if (branch.isEmpty()) + bo=NULL; + else + bo=branch.first(); + + if (!itLast) + { + // no itLast, we are just beginning + if (bo) + { + // we have childs, return first one + itLast=this; + return bo; + } + else + { + // No childs, so there is no next + itLast=this; + return NULL; + } + } + + // We have an itLast + if (itLast==po) + { // We come from parent + if (bo) + { + // there are childs, go there + itLast=this; + return bo; + } + else + { // no childs, try to go up again + if (po) + { + // go back to parent and try to find next there + itLast=this; + lmo=po->next(); + itLast=this; + return lmo; + + } + else + { + // can't go up, I am mapCenter, no next + itLast=NULL; + return NULL; + } + } + } + + // We don't come from parent, but from brother or childs + + // Try to find last child, where we came from, in my own childs + bool searching=true; + int i=0; + while (inext(); + itLast=this; + return lmo; + } + else + { + // can't go up, I am mapCenter + itLast=NULL; + return NULL; + } + } + } + + // couldn't find last child, it must be a nephew of mine + if (branch.size()>0) + { + // proceed with my first child + itLast=this; + return branch.first(); + } + else + { + // or go back to my parents + if (po) + { + // go up + itLast=this; + lmo=po->next(); + itLast=this; + return lmo; + } + else + { + // can't go up, I am mapCenter + itLast=NULL; + return NULL; + } + } +} + +BranchObj* BranchObj::getLastIterator() +{ + return itLast; +} + +void BranchObj::setLastIterator(BranchObj* it) +{ + itLast=it; +} + +void BranchObj::positionContents() +{ + for (int i=0; ireposition(); + OrnamentedObj::positionContents(); +} + +void BranchObj::move (double x, double y) +{ + OrnamentedObj::move (x,y); + for (int i=0; ireposition(); + positionBBox(); +} + +void BranchObj::move (QPointF p) +{ + move (p.x(), p.y()); +} + +void BranchObj::moveBy (double x, double y) +{ + OrnamentedObj::moveBy (x,y); + for (int i=0; imoveBy (x,y); + positionBBox(); +} + +void BranchObj::moveBy (QPointF p) +{ + moveBy (p.x(), p.y()); +} + + +void BranchObj::positionBBox() +{ + QPointF ap=getAbsPos(); + bbox.moveTopLeft (ap); + positionContents(); + + // set the frame + frame->setRect(QRectF(bbox.x(),bbox.y(),bbox.width(),bbox.height() ) ); + + // Update links to other branches + for (int i=0; iupdateXLink(); +} + +void BranchObj::calcBBoxSize() +{ + QSizeF heading_r=heading->getSize(); + qreal heading_w=(qreal) heading_r.width() ; + qreal heading_h=(qreal) heading_r.height() ; + QSizeF sysflags_r=systemFlags->getSize(); + qreal sysflags_h=sysflags_r.height(); + qreal sysflags_w=sysflags_r.width(); + QSizeF stanflags_r=standardFlags->getSize(); + qreal stanflags_h=stanflags_r.height(); + qreal stanflags_w=stanflags_r.width(); + qreal w; + qreal h; + + // set width to sum of all widths + w=heading_w + sysflags_w + stanflags_w; + // set height to maximum needed height + h=max (sysflags_h,stanflags_h); + h=max (h,heading_h); + + // Save the dimension of flags and heading + ornamentsBBox.setSize ( QSizeF(w,h)); + + // clickBox includes Flags and Heading + clickBox.setSize (ornamentsBBox.size() ); + + // Floatimages + QPointF rp; + + topPad=botPad=leftPad=rightPad=0; + if (includeImagesVer || includeImagesHor) + { + if (countFloatImages()>0) + { + for (int i=0; igetRelPos(); + if (includeImagesVer) + { + if (rp.y() < 0) + topPad=max (topPad,-rp.y()-h); + if (rp.y()+floatimage.at(i)->height() > 0) + botPad=max (botPad,rp.y()+floatimage.at(i)->height()); + } + if (includeImagesHor) + { + if (orientation==LinkableMapObj::RightOfCenter) + { + if (-rp.x()-w > 0) + leftPad=max (leftPad,-rp.x()-w); + if (rp.x()+floatimage.at(i)->width() > 0) + rightPad=max (rightPad,rp.x()+floatimage.at(i)->width()); + } else + { + if (rp.x()< 0) + leftPad=max (leftPad,-rp.x()); + if (rp.x()+floatimage.at(i)->width() > w) + rightPad=max (rightPad,rp.x()+floatimage.at(i)->width()-w); + } + } + } + } + h+=topPad+botPad; + w+=leftPad+rightPad; + } + + // Frame thickness + w+=frame->getPadding(); + h+=frame->getPadding(); + + // Finally set size + bbox.setSize (QSizeF (w,h)); +} + +void BranchObj::setDockPos() +{ + // Sets childpos and parpos depending on orientation + if (getOrientation()==LinkableMapObj::LeftOfCenter ) + { + childPos=QPointF ( + ornamentsBBox.bottomLeft().x(), + bottomlineY); + parPos=QPointF ( + ornamentsBBox.bottomRight().x(), + bottomlineY); + } else + { + childPos=QPointF ( + ornamentsBBox.bottomRight().x(), + bottomlineY); + parPos=QPointF ( + ornamentsBBox.bottomLeft().x(), + bottomlineY); + } +} + +LinkableMapObj* BranchObj::findMapObj(QPointF p, LinkableMapObj* excludeLMO) +{ + // Search branches + LinkableMapObj *lmo; + for (int i=0; ifindMapObj(p, excludeLMO); + if (lmo != NULL) return lmo; + } + + + // Search myself + if (inBox (p,clickBox) && (this != excludeLMO) && isVisibleObj() ) + return this; + + // Search float images + for (int i=0; igetClickBox()) && + (floatimage.at(i) != excludeLMO) && + floatimage.at(i)->getParObj()!= excludeLMO && + floatimage.at(i)->isVisibleObj() + ) return floatimage.at(i); + + return NULL; +} + +LinkableMapObj* BranchObj::findID (QString sid) +{ + // Search branches + LinkableMapObj *lmo; + for (int i=0; ifindID (sid); + if (lmo != NULL) return lmo; + } + + // Search myself + if (sid==objID) return this; + + +/* + // Search float images + for (int i=0; iinBox(p) && + (floatimage.at(i) != excludeLMO) && + floatimage.at(i)->getParObj()!= excludeLMO && + floatimage.at(i)->isVisibleObj() + ) return floatimage.at(i); +*/ + return NULL; +} + +void BranchObj::setHeading(QString s) +{ + heading->setText(s); // set new heading + calcBBoxSize(); // recalculate bbox + positionBBox(); // rearrange contents + requestReposition(); +} + +void BranchObj::setHideTmp (HideTmpMode mode) +{ + if (mode==HideExport && (hideExport|| hasHiddenExportParent() ) ) + { + // Hide stuff according to hideExport flag and parents + setVisibility (false); + hidden=true; + }else + { + // Do not hide, but still take care of scrolled status + if (hasScrolledParent(this)) + setVisibility (false); + else + setVisibility (true); + hidden=false; + } + + // And take care of my childs + for (int i=0; isetHideTmp (mode); +} + +bool BranchObj::hasHiddenExportParent() +{ + // Calls parents recursivly to + // find out, if we or parents are temp. hidden + + if (hidden || hideExport) return true; + + BranchObj* bo=(BranchObj*)parObj; + if (bo) + return bo->hasHiddenExportParent(); + else + return false; +} + +QString BranchObj::saveToDir (const QString &tmpdir,const QString &prefix, const QPointF& offset) +{ + // Cloudy stuff can be hidden during exports + if (hidden) return ""; + + // Update of note is usually done while unselecting a branch + if (isNoteInEditor) getNoteFromTextEditor(); + + QString s,a; + QString scrolledAttr; + if (scrolled) + scrolledAttr=attribut ("scrolled","yes"); + else + scrolledAttr=""; + + // save area, if not scrolled + QString areaAttr; + if (!((BranchObj*)(parObj))->isScrolled() ) + { + areaAttr= + attribut("x1",QString().setNum(absPos.x()-offset.x())) + + attribut("y1",QString().setNum(absPos.y()-offset.y())) + + attribut("x2",QString().setNum(absPos.x()+width()-offset.x())) + + attribut("y2",QString().setNum(absPos.y()+height()-offset.y())); + + } else + areaAttr=""; + + // Providing an ID for a branch makes export to XHTML easier + QString idAttr; + if (countXLinks()>0) + idAttr=attribut ("id",mapEditor->getModel()->getSelectString(this)); //TODO directly access model + else + idAttr=""; + + s=beginElement ("branch" + +getOrnXMLAttr() + +scrolledAttr + +areaAttr + +idAttr + +getIncludeImageAttr() ); + incIndent(); + + // save heading + s+=valueElement("heading", getHeading(), + attribut ("textColor",QColor(heading->getColor()).name())); + + // Save frame + if (frame->getFrameType()!=FrameObj::NoFrame) + s+=frame->saveToDir (); + + // save names of flags set + s+=standardFlags->saveToDir(tmpdir,prefix,0); + + // Save FloatImages + for (int i=0; isaveToDir (tmpdir,prefix); + + // save note + if (!note.isEmpty() ) + s+=note.saveToDir(); + + // Save branches + for (int i=0; isaveToDir(tmpdir,prefix,offset); + + // Save XLinks + QString ol; // old link + QString cl; // current link + for (int i=0; isaveToDir(); + if (cl!=ol) + { + s+=cl; + ol=cl; + } else + { + qWarning (QString("Ignoring of duplicate xLink in %1").arg(getHeading())); + } + } + + decIndent(); + s+=endElement ("branch"); + return s; +} + +void BranchObj::addXLink (XLinkObj *xlo) +{ + xlink.append (xlo); + +} + +void BranchObj::removeXLinkRef (XLinkObj *xlo) +{ + xlink.removeAt (xlink.indexOf(xlo)); +} + +void BranchObj::deleteXLink(XLinkObj *xlo) +{ + xlo->deactivate(); + if (!xlo->isUsed()) delete (xlo); +} + +void BranchObj::deleteXLinkAt (int i) +{ + XLinkObj *xlo=xlink.at(i); + xlo->deactivate(); + if (!xlo->isUsed()) delete(xlo); +} + +XLinkObj* BranchObj::XLinkAt (int i) +{ + return xlink.at(i); +} + +int BranchObj::countXLink() +{ + return xlink.count(); +} + + +BranchObj* BranchObj::XLinkTargetAt (int i) +{ + if (i>=0 && iotherBranch (this); + } + return NULL; +} + +void BranchObj::setIncludeImagesVer(bool b) +{ + includeImagesVer=b; + calcBBoxSize(); + positionBBox(); + requestReposition(); +} + +bool BranchObj::getIncludeImagesVer() +{ + return includeImagesVer; +} + +void BranchObj::setIncludeImagesHor(bool b) +{ + includeImagesHor=b; + calcBBoxSize(); + positionBBox(); + requestReposition(); +} + +bool BranchObj::getIncludeImagesHor() +{ + return includeImagesHor; +} + +QString BranchObj::getIncludeImageAttr() +{ + QString a; + if (includeImagesVer) + a=attribut ("incImgV","true"); + else + a=attribut ("incImgV","false"); + if (includeImagesHor) + a+=attribut ("incImgH","true"); + else + a+=attribut ("incImgH","false"); + return a; +} + +FloatImageObj* BranchObj::addFloatImage () +{ + FloatImageObj *newfi=new FloatImageObj (scene,this); + floatimage.append (newfi); + if (hasScrolledParent(this) ) + newfi->setVisibility (false); + else + newfi->setVisibility(visible); + /* + calcBBoxSize(); + positionBBox(); + */ + requestReposition(); + return newfi; +} + +FloatImageObj* BranchObj::addFloatImage (FloatImageObj *fio) +{ + FloatImageObj *newfi=new FloatImageObj (scene,this); + floatimage.append (newfi); + newfi->copy (fio); + if (hasScrolledParent(this) ) + newfi->setVisibility (false); + else + newfi->setVisibility(visible); + /* + calcBBoxSize(); + positionBBox(); + */ + requestReposition(); + return newfi; +} + +FloatImageObj* BranchObj::getFirstFloatImage () +{ + return floatimage.first(); +} + +FloatImageObj* BranchObj::getLastFloatImage () +{ + return floatimage.last(); +} + +FloatImageObj* BranchObj::getFloatImageNum (const uint &i) +{ + return floatimage.at(i); +} + +void BranchObj::removeFloatImage (FloatImageObj *fio) +{ + int i=floatimage.indexOf (fio); + if (i>-1) delete (floatimage.takeAt (i)); + calcBBoxSize(); + positionBBox(); + requestReposition(); +} + +void BranchObj::savePosInAngle () +{ + // Save position in angle + for (int i=0; iangle=i; +} + +void BranchObj::setDefAttr (BranchModification mod) +{ + int fontsize; + switch (depth) + { + case 0: fontsize=16; break; + case 1: fontsize=12; break; + default: fontsize=10; break; + } + + setLinkColor (); + setLinkStyle(getDefLinkStyle()); + QFont font("Sans Serif,8,-1,5,50,0,0,0,0,0"); + font.setPointSize(fontsize); + heading->setFont(font ); + + if (mod==NewBranch) + setColor (((BranchObj*)(parObj))->getColor()); + + calcBBoxSize(); +} + +BranchObj* BranchObj::addBranch() +{ + BranchObj* newbo=new BranchObj(scene,this); + branch.append (newbo); + newbo->setParObj(this); + newbo->setDefAttr(NewBranch); + newbo->setHeading ("new"); + if (scrolled) + newbo->setVisibility (false); + else + newbo->setVisibility(visible); + newbo->updateLink(); + requestReposition(); + return newbo; +} + +BranchObj* BranchObj::addBranch(BranchObj* bo) +{ + BranchObj* newbo=new BranchObj(scene,this); + branch.append (newbo); + newbo->copy(bo); + newbo->setParObj(this); + newbo->setDefAttr(MovedBranch); + if (scrolled) + newbo->setVisibility (false); + else + newbo->setVisibility(bo->visible); + newbo->updateLink(); + requestReposition(); + return newbo; +} + +BranchObj* BranchObj::addBranchPtr(BranchObj* bo) +{ + branch.append (bo); + bo->setParObj (this); + bo->depth=depth+1; + bo->setDefAttr(MovedBranch); + if (scrolled) tmpUnscroll(); + setLastSelectedBranch (bo); + return bo; +} + +BranchObj* BranchObj::insertBranch(int pos) +{ + savePosInAngle(); + // Add new bo and resort branches + BranchObj *newbo=addBranch (); + newbo->angle=pos-0.5; + qSort (branch.begin(),branch.end(), isAbove); + return newbo; +} + +BranchObj* BranchObj::insertBranch(BranchObj* bo, int pos) +{ + savePosInAngle(); + // Add new bo and resort branches + bo->angle=pos-0.5; + BranchObj *newbo=addBranch (bo); + qSort (branch.begin(),branch.end(), isAbove); + return newbo; +} + +BranchObj* BranchObj::insertBranchPtr (BranchObj* bo, int pos) +{ + savePosInAngle(); + // Add new bo and resort branches + bo->angle=pos-0.5; + branch.append (bo); + bo->setParObj (this); + bo->depth=depth+1; + bo->setDefAttr (MovedBranch); + if (scrolled) tmpUnscroll(); + setLastSelectedBranch (bo); + qSort (branch.begin(),branch.end(), isAbove); + return bo; +} + +void BranchObj::removeBranchHere(BranchObj* borem) +{ + // This removes the branch bo from list, but + // inserts its childs at the place of bo + BranchObj *bo; + bo=borem->getLastBranch(); + int pos=borem->getNum(); + while (bo) + { + bo->linkTo (this,pos+1); + bo=borem->getLastBranch(); + } + removeBranch (borem); +} + +void BranchObj::removeChilds() +{ + clear(); +} + +void BranchObj::removeBranch(BranchObj* bo) +{ + // if bo is not in branch remove returns false, we + // don't care... + + int i=branch.indexOf(bo); + if (i>=0) + { + delete (bo); + branch.removeAt (i); + } else + qWarning ("BranchObj::removeBranch tried to remove non existing branch?!\n"); + requestReposition(); +} + +void BranchObj::removeBranchPtr(BranchObj* bo) +{ + int i=branch.indexOf(bo); + + if (i>=0) + branch.removeAt (i); + else + qWarning ("BranchObj::removeBranchPtr tried to remove non existing branch?!\n"); + requestReposition(); +} + +void BranchObj::setLastSelectedBranch (BranchObj* bo) +{ + lastSelectedBranch=branch.indexOf(bo); +} + +BranchObj* BranchObj::getLastSelectedBranch () +{ + if (lastSelectedBranch>=0) + { + if ( branch.size()>lastSelectedBranch) + return branch.at(lastSelectedBranch); + if (branch.size()>0) + return branch.last(); + } + return NULL; +} + +BranchObj* BranchObj::getFirstBranch () +{ + if (branch.size()>0) + return branch.first(); + else + return NULL; +} + +BranchObj* BranchObj::getLastBranch () +{ + if (branch.size()>0) + return branch.last(); + else + return NULL; +} + +BranchObj* BranchObj::getBranchNum (int i) +{ + if (i>=0 && igetFirstBranch()) + return false; + else + return true; +} + +BranchObj* BranchObj::moveBranchUp(BranchObj* bo1) // modify my childlist +{ + savePosInAngle(); + int i=branch.indexOf(bo1); + if (i>0) + { // -1 if bo1 not found + branch.at(i)->angle--; + branch.at(i-1)->angle++; + qSort (branch.begin(),branch.end(), isAbove); + return branch.at(i); + } else + return NULL; +} + +bool BranchObj::canMoveBranchDown() +{ + if (!parObj|| depth==1) return false; + BranchObj* par=(BranchObj*)parObj; + if (this==par->getLastBranch()) + return false; + else + return true; +} + +BranchObj* BranchObj::moveBranchDown(BranchObj* bo1)// modify my childlist +{ + savePosInAngle(); + int i=branch.indexOf(bo1); + int j; + if (i angle++; + branch.at(j)->angle--; + qSort (branch.begin(),branch.end(), isAbove); + return branch.at(i); + } else + return NULL; +} + +void BranchObj::sortChildren() +{ + int childCount=branch.count(); + int curChildIndex; + bool madeChanges=false; + do + { + madeChanges=false; + for(curChildIndex=1;curChildIndexheading->text().compare(curChild->heading->text())>0) + { + this->moveBranchUp(curChild); + madeChanges=true; + } + } + }while(madeChanges); +} + + +BranchObj* BranchObj::linkTo (BranchObj* dst, int pos) +{ + // Find current parent and + // remove pointer to myself there + if (!dst) return NULL; + BranchObj *par=(BranchObj*)parObj; + if (par) + par->removeBranchPtr (this); + else + return NULL; + + // Create new pointer to myself at dst + if (pos<0||dst->getDepth()==0) + { + // links myself as last branch at dst + dst->addBranchPtr (this); + updateLink(); + return this; + } else + { + // inserts me at pos in parent of dst + if (par) + { + BranchObj *bo=dst->insertBranchPtr (this,pos); + bo->setDefAttr(MovedBranch); + updateLink(); + return bo; + + } else + return NULL; + } +} + +void BranchObj::alignRelativeTo (QPointF ref,bool alignSelf) +{ + qreal th = bboxTotal.height(); +// TODO testing +/* + QPointF pp; if (parObj) pp=parObj->getChildPos(); + cout << "BO::alignRelTo "<