summaryrefslogtreecommitdiff
path: root/community/freemat
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/freemat
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/freemat')
-rw-r--r--community/freemat/ChangeLog3
-rw-r--r--community/freemat/PKGBUILD46
-rw-r--r--community/freemat/freemat-gcc-4.3.0.patch37
-rw-r--r--community/freemat/freemat-gcc-4.5.0.patch207
-rw-r--r--community/freemat/freemat-qt46.patch2088
-rw-r--r--community/freemat/freemat.install7
-rw-r--r--community/freemat/input-fix.patch12
7 files changed, 2400 insertions, 0 deletions
diff --git a/community/freemat/ChangeLog b/community/freemat/ChangeLog
new file mode 100644
index 000000000..dba4cf7ec
--- /dev/null
+++ b/community/freemat/ChangeLog
@@ -0,0 +1,3 @@
+2007-06-27 tardo <tardo@nagi-fanboi.net>
+* Built for x86_64
+
diff --git a/community/freemat/PKGBUILD b/community/freemat/PKGBUILD
new file mode 100644
index 000000000..a62515e89
--- /dev/null
+++ b/community/freemat/PKGBUILD
@@ -0,0 +1,46 @@
+# $Id: PKGBUILD 36137 2010-12-27 15:12:01Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: William Rea <sillywilly@gmail.com>
+
+pkgname=freemat
+pkgver=4.0
+pkgrel=4
+pkgdesc="A free environment for rapid engineering, scientific prototyping and data processing"
+arch=('i686' 'x86_64')
+url="http://freemat.sourceforge.net"
+license=('GPL')
+depends=('qt' 'umfpack' 'arpack' 'libmatio' 'ffcall' 'fftw' 'blas' 'lapack' 'mesa' 'portaudio')
+install=freemat.install
+source=(http://downloads.sourceforge.net/project/freemat/FreeMat4/FreeMat-$pkgver-Source.tar.gz
+ freemat-gcc-4.3.0.patch
+ freemat-gcc-4.5.0.patch
+ freemat-qt46.patch
+ input-fix.patch)
+md5sums=('adb58b9f2c508d9ae5b6041da2f75baf'
+ '3dc3848949183de2664c2cf67663c892'
+ 'a3edb7b51057a90a752aff5053f8eed6'
+ 'a8d2ffa9319eccaedb28a10f9c7617f4'
+ 'a78941563453feaca5c7463eaeea1a70')
+
+build() {
+ cd $srcdir/FreeMat-$pkgver.1-Source
+
+ if [ $NOEXTRACT -ne 1 ]; then
+ patch -p1 <$srcdir/freemat-gcc-4.5.0.patch
+ patch -p1 <$srcdir/input-fix.patch
+ patch -p1 <$srcdir/freemat-qt46.patch
+ patch -p1 CMakeCache.txt <<EOF
+23c23,25
+< CMAKE_CACHEFILE_DIR:INTERNAL=/home/basu/dev/branches/FreeMat4
+---
+> #CMAKE_CACHEFILE_DIR:INTERNAL=/home/basu/dev/branches/FreeMat4
+> USE_LLVM:BOOL=OFF
+> CMAKE_INSTALL_PREFIX:PATH=/usr
+EOF
+ cmake `pwd`
+ fi
+ make
+ make DESTDIR=$pkgdir install
+ sed -i "s|/FreeMat-.*/|/FreeMat-$pkgver/|g" $startdir/freemat.install
+ rm $pkgdir/usr/bin/blas.ini
+}
diff --git a/community/freemat/freemat-gcc-4.3.0.patch b/community/freemat/freemat-gcc-4.3.0.patch
new file mode 100644
index 000000000..40247177c
--- /dev/null
+++ b/community/freemat/freemat-gcc-4.3.0.patch
@@ -0,0 +1,37 @@
+diff -wbBur FreeMat-3.6/libs/libFreeMat/Malloc.cpp FreeMat-3.6.my/libs/libFreeMat/Malloc.cpp
+--- FreeMat-3.6/libs/libFreeMat/Malloc.cpp 2008-03-14 18:43:10.000000000 +0300
++++ FreeMat-3.6.my/libs/libFreeMat/Malloc.cpp 2008-04-25 21:29:19.000000000 +0400
+@@ -21,6 +21,7 @@
+ #include "Exception.hpp"
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+
+
+ void* Malloc(int count) {
+diff -wbBur FreeMat-3.6/libs/libFreeMat/Token.cpp FreeMat-3.6.my/libs/libFreeMat/Token.cpp
+--- FreeMat-3.6/libs/libFreeMat/Token.cpp 2008-03-14 18:43:10.000000000 +0300
++++ FreeMat-3.6.my/libs/libFreeMat/Token.cpp 2008-04-25 21:31:33.000000000 +0400
+@@ -2,6 +2,7 @@
+ #include "Serialize.hpp"
+ #include <iostream>
+ #include <errno.h>
++#include <limits.h>
+
+ // These must appear as sequential token numbers
+ string fm_reserved[22] = {
+diff -wbBur FreeMat-3.6/libs/libFreeMat/Types.hpp FreeMat-3.6.my/libs/libFreeMat/Types.hpp
+--- FreeMat-3.6/libs/libFreeMat/Types.hpp 2008-03-14 18:43:10.000000000 +0300
++++ FreeMat-3.6.my/libs/libFreeMat/Types.hpp 2008-04-25 21:28:26.000000000 +0400
+@@ -20,7 +20,11 @@
+ #ifndef __Types_hpp__
+ #define __Types_hpp__
+
++#include <algorithm>
+ #include <string>
++#include <string.h>
++using namespace std;
++
+ #include <QVector>
+ #include <QtGlobal>
+ #include <QList>
diff --git a/community/freemat/freemat-gcc-4.5.0.patch b/community/freemat/freemat-gcc-4.5.0.patch
new file mode 100644
index 000000000..08f644e50
--- /dev/null
+++ b/community/freemat/freemat-gcc-4.5.0.patch
@@ -0,0 +1,207 @@
+diff -wbBur FreeMat-4.0.1-Source/libs/libFreeMat/Array.cpp FreeMat-4.0.1-Source.my//libs/libFreeMat/Array.cpp
+--- FreeMat-4.0.1-Source/libs/libFreeMat/Array.cpp 2009-10-09 06:24:20.000000000 +0000
++++ FreeMat-4.0.1-Source.my//libs/libFreeMat/Array.cpp 2010-12-27 12:38:46.000000000 +0000
+@@ -465,7 +465,7 @@
+
+ void Array::set(const QString& field, ArrayVector& data) {
+ if (isEmpty() && m_type.Class != Struct)
+- *this = Array::Array(Struct);
++ *this = Array(Struct);
+ if (m_type.Class != Struct) throw Exception("Unsupported type for A.field=B");
+ StructArray &rp(structPtr());
+ if (isEmpty())
+diff -wbBur FreeMat-4.0.1-Source/libs/libFreeMat/Math.cpp FreeMat-4.0.1-Source.my//libs/libFreeMat/Math.cpp
+--- FreeMat-4.0.1-Source/libs/libFreeMat/Math.cpp 2009-10-09 06:24:22.000000000 +0000
++++ FreeMat-4.0.1-Source.my//libs/libFreeMat/Math.cpp 2010-12-27 12:42:34.000000000 +0000
+@@ -1590,9 +1590,9 @@
+
+ Array Not(const Array& A) {
+ if (A.isScalar())
+- return Array::Array(!A.toClass(Bool).constRealScalar<bool>());
++ return Array(!A.toClass(Bool).constRealScalar<bool>());
+ const Array &Abool(A.toClass(Bool));
+- return Array::Array(Apply(Abool.constReal<bool>(),notfunc));
++ return Array(Apply(Abool.constReal<bool>(),notfunc));
+ }
+
+ Array Plus(const Array& A) {
+diff -wbBur FreeMat-4.0.1-Source/libs/libFreeMat/Operators.hpp FreeMat-4.0.1-Source.my//libs/libFreeMat/Operators.hpp
+--- FreeMat-4.0.1-Source/libs/libFreeMat/Operators.hpp 2009-10-09 06:24:22.000000000 +0000
++++ FreeMat-4.0.1-Source.my//libs/libFreeMat/Operators.hpp 2010-12-27 14:04:11.000000000 +0000
+@@ -142,11 +142,11 @@
+ if (!Bcast.isScalar()) Bcast = Bcast.asDenseArray();
+ if (Acast.isScalar() && Bcast.isScalar()) {
+ if (Acast.allReal() && Bcast.allReal()) {
+- F = Array::Array(Op::func(Acast.constRealScalar<T>(),
++ F = Array(Op::func(Acast.constRealScalar<T>(),
+ Bcast.constRealScalar<T>()));
+ } else {
+ Acast.forceComplex(); Bcast.forceComplex();
+- F = Array::Array(T(0),T(0));
++ F = Array(T(0),T(0));
+ Op::func(Acast.constRealScalar<T>(),
+ Acast.constImagScalar<T>(),
+ Bcast.constRealScalar<T>(),
+@@ -155,7 +155,7 @@
+ }
+ } else if (Acast.isScalar()) {
+ if (Acast.allReal() && Bcast.allReal()) {
+- F = Array::Array(Tclass,Bcast.dimensions());
++ F = Array(Tclass,Bcast.dimensions());
+ T* ret = F.real<T>().data();
+ const T& Ap = Acast.constRealScalar<T>();
+ const T* Bp = Bcast.constReal<T>().constData();
+@@ -163,7 +163,7 @@
+ for (uint64 i=0;i<q;i++) ret[i] = Op::func(Ap,Bp[i]);
+ } else {
+ Acast.forceComplex(); Bcast.forceComplex();
+- F = Array::Array(Tclass,Bcast.dimensions());
++ F = Array(Tclass,Bcast.dimensions());
+ T* Cr = F.real<T>().data();
+ T* Ci = F.imag<T>().data();
+ const T& Ar = Acast.constRealScalar<T>();
+@@ -175,7 +175,7 @@
+ }
+ } else if (Bcast.isScalar()) {
+ if (Bcast.allReal() && Acast.allReal()) {
+- F = Array::Array(Tclass,Acast.dimensions());
++ F = Array(Tclass,Acast.dimensions());
+ T* ret = F.real<T>().data();
+ const T* Ap = Acast.constReal<T>().constData();
+ const T& Bp = Bcast.constRealScalar<T>();
+@@ -183,7 +183,7 @@
+ for (uint64 i=0;i<q;i++) ret[i] = Op::func(Ap[i],Bp);
+ } else {
+ Acast.forceComplex(); Bcast.forceComplex();
+- F = Array::Array(Tclass,Acast.dimensions());
++ F = Array(Tclass,Acast.dimensions());
+ T* Cr = F.real<T>().data();
+ T* Ci = F.imag<T>().data();
+ const T* Ar = Acast.constReal<T>().constData();
+@@ -197,7 +197,7 @@
+ if (Acast.dimensions() != Bcast.dimensions())
+ throw Exception("size mismatch in arguments to binary operator");
+ if (Bcast.allReal() && Acast.allReal()) {
+- F = Array::Array(Tclass,Acast.dimensions());
++ F = Array(Tclass,Acast.dimensions());
+ T* ret = F.real<T>().data();
+ const T* Ap = Acast.constReal<T>().constData();
+ const T* Bp = Bcast.constReal<T>().constData();
+@@ -205,7 +205,7 @@
+ for (uint64 i=0;i<q;i++) ret[i] = Op::func(Ap[i],Bp[i]);
+ } else {
+ Acast.forceComplex(); Bcast.forceComplex();
+- F = Array::Array(Tclass,Acast.dimensions());
++ F = Array(Tclass,Acast.dimensions());
+ T* Cr = F.real<T>().data();
+ T* Ci = F.imag<T>().data();
+ const T* Ar = Acast.constReal<T>().constData();
+@@ -328,17 +328,17 @@
+ if (!Acast.isScalar()) Acast = Acast.asDenseArray();
+ if (!Bcast.isScalar()) Bcast = Bcast.asDenseArray();
+ if (Acast.isScalar() && Bcast.isScalar()) {
+- F = Array::Array(Op::func(Acast.constRealScalar<T>(),
++ F = Array(Op::func(Acast.constRealScalar<T>(),
+ Bcast.constRealScalar<T>()));
+ } else if (Acast.isScalar()) {
+- F = Array::Array(Bool,Bcast.dimensions());
++ F = Array(Bool,Bcast.dimensions());
+ bool* ret = F.real<bool>().data();
+ const T& Ap = Acast.constRealScalar<T>();
+ const T* Bp = Bcast.constReal<T>().constData();
+ uint64 q = uint64(Bcast.length());
+ for (uint64 i=0;i<q;i++) ret[i] = Op::func(Ap,Bp[i]);
+ } else if (Bcast.isScalar()) {
+- F = Array::Array(Bool,Acast.dimensions());
++ F = Array(Bool,Acast.dimensions());
+ bool* ret = F.real<bool>().data();
+ const T* Ap = Acast.constReal<T>().constData();
+ const T& Bp = Bcast.constRealScalar<T>();
+@@ -347,7 +347,7 @@
+ } else {
+ if (Acast.dimensions() != Bcast.dimensions())
+ throw Exception("size mismatch in arguments to binary operator");
+- F = Array::Array(Bool,Acast.dimensions());
++ F = Array(Bool,Acast.dimensions());
+ bool* ret = F.real<bool>().data();
+ const T* Ap = Acast.constReal<T>().constData();
+ const T* Bp = Bcast.constReal<T>().constData();
+@@ -395,18 +395,18 @@
+ if (!Bcast.isScalar()) Bcast = Bcast.asDenseArray();
+ if (Acast.isScalar() && Bcast.isScalar()) {
+ if (Acast.allReal() && Bcast.allReal()) {
+- F = Array::Array(Op::func(Acast.constRealScalar<T>(),
++ F = Array(Op::func(Acast.constRealScalar<T>(),
+ Bcast.constRealScalar<T>()));
+ } else {
+ Acast.forceComplex(); Bcast.forceComplex();
+- F = Array::Array(Op::func(Acast.constRealScalar<T>(),
++ F = Array(Op::func(Acast.constRealScalar<T>(),
+ Acast.constImagScalar<T>(),
+ Bcast.constRealScalar<T>(),
+ Bcast.constImagScalar<T>()));
+ }
+ } else if (Acast.isScalar()) {
+ if (Acast.allReal() && Bcast.allReal()) {
+- F = Array::Array(Bool,Bcast.dimensions());
++ F = Array(Bool,Bcast.dimensions());
+ bool* ret = F.real<bool>().data();
+ const T& Ap = Acast.constRealScalar<T>();
+ const T* Bp = Bcast.constReal<T>().constData();
+@@ -414,7 +414,7 @@
+ for (uint64 i=0;i<q;i++) ret[i] = Op::func(Ap,Bp[i]);
+ } else {
+ Acast.forceComplex(); Bcast.forceComplex();
+- F = Array::Array(Bool,Bcast.dimensions());
++ F = Array(Bool,Bcast.dimensions());
+ bool* ret = F.real<bool>().data();
+ const T& Ar = Acast.constRealScalar<T>();
+ const T& Ai = Acast.constImagScalar<T>();
+@@ -425,7 +425,7 @@
+ }
+ } else if (Bcast.isScalar()) {
+ if (Bcast.allReal() && Acast.allReal()) {
+- F = Array::Array(Bool,Acast.dimensions());
++ F = Array(Bool,Acast.dimensions());
+ bool* ret = F.real<bool>().data();
+ const T* Ap = Acast.constReal<T>().constData();
+ const T& Bp = Bcast.constRealScalar<T>();
+@@ -433,7 +433,7 @@
+ for (uint64 i=0;i<q;i++) ret[i] = Op::func(Ap[i],Bp);
+ } else {
+ Acast.forceComplex(); Bcast.forceComplex();
+- F = Array::Array(Bool,Acast.dimensions());
++ F = Array(Bool,Acast.dimensions());
+ bool* ret = F.real<bool>().data();
+ const T* Ar = Acast.constReal<T>().constData();
+ const T* Ai = Acast.constImag<T>().constData();
+@@ -446,7 +446,7 @@
+ if (Acast.dimensions() != Bcast.dimensions())
+ throw Exception("size mismatch in arguments to binary operator");
+ if (Bcast.allReal() && Acast.allReal()) {
+- F = Array::Array(Bool,Acast.dimensions());
++ F = Array(Bool,Acast.dimensions());
+ bool* ret = F.real<bool>().data();
+ const T* Ap = Acast.constReal<T>().constData();
+ const T* Bp = Bcast.constReal<T>().constData();
+@@ -454,7 +454,7 @@
+ for (uint64 i=0;i<q;i++) ret[i] = Op::func(Ap[i],Bp[i]);
+ } else {
+ Acast.forceComplex(); Bcast.forceComplex();
+- F = Array::Array(Bool,Acast.dimensions());
++ F = Array(Bool,Acast.dimensions());
+ bool* ret = F.real<bool>().data();
+ const T* Ar = Acast.constReal<T>().constData();
+ const T* Ai = Acast.constImag<T>().constData();
+@@ -533,9 +533,9 @@
+ if (!Acast.isScalar()) Acast = Acast.asDenseArray();
+ if (Acast.isScalar()) {
+ if (Acast.allReal()) {
+- F = Array::Array(Op::func(Acast.constRealScalar<T>()));
++ F = Array(Op::func(Acast.constRealScalar<T>()));
+ } else {
+- F = Array::Array(T(0),T(0));
++ F = Array(T(0),T(0));
+ Op::func(Acast.constRealScalar<T>(),
+ Acast.constImagScalar<T>(),
+ F.realScalar<T>(),F.imagScalar<T>());
diff --git a/community/freemat/freemat-qt46.patch b/community/freemat/freemat-qt46.patch
new file mode 100644
index 000000000..aa92dc18c
--- /dev/null
+++ b/community/freemat/freemat-qt46.patch
@@ -0,0 +1,2088 @@
+diff -wbBur FreeMat-4.0.1-Source/libs/libCore/helpwidget.moc.cpp FreeMat-4.0.1-Source.new/libs/libCore/helpwidget.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libCore/helpwidget.moc.cpp 2009-10-09 06:23:29.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libCore/helpwidget.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'helpwidget.hpp'
+ **
+-** Created: Thu Oct 8 21:52:25 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "helpwidget.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'helpwidget.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_HelpSearcher[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 1, 12, // methods
++ 1, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ // slots: signature, parameters, type, tag, flags
+ 14, 13, 13, 13, 0x08,
+@@ -43,9 +45,13 @@
+ qt_meta_data_HelpSearcher, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &HelpSearcher::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *HelpSearcher::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *HelpSearcher::qt_metacast(const char *_clname)
+@@ -73,13 +79,15 @@
+ static const uint qt_meta_data_HelpWidget[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+ 0, 0, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ 0 // eod
+ };
+@@ -93,9 +101,13 @@
+ qt_meta_data_HelpWidget, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &HelpWidget::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *HelpWidget::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *HelpWidget::qt_metacast(const char *_clname)
+@@ -116,13 +128,15 @@
+ static const uint qt_meta_data_HelpWindow[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 6, 12, // methods
++ 6, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 1, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 12, 11, 11, 11, 0x05,
+@@ -150,9 +164,13 @@
+ qt_meta_data_HelpWindow, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &HelpWindow::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *HelpWindow::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *HelpWindow::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libCore/XML.moc.cpp FreeMat-4.0.1-Source.new/libs/libCore/XML.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libCore/XML.moc.cpp 2009-10-09 06:23:28.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libCore/XML.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'XML.hpp'
+ **
+-** Created: Thu Oct 8 21:52:25 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "XML.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'XML.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_URLRetriever[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 1, 12, // methods
++ 1, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ // slots: signature, parameters, type, tag, flags
+ 21, 14, 13, 13, 0x0a,
+@@ -43,9 +45,13 @@
+ qt_meta_data_URLRetriever, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &URLRetriever::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *URLRetriever::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *URLRetriever::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libFreeMat/DebugStream.moc.cpp FreeMat-4.0.1-Source.new/libs/libFreeMat/DebugStream.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libFreeMat/DebugStream.moc.cpp 2009-10-09 06:24:22.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libFreeMat/DebugStream.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'DebugStream.hpp'
+ **
+-** Created: Thu Oct 8 21:51:54 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "DebugStream.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'DebugStream.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_DebugStream[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 1, 12, // methods
++ 1, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 1, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 17, 13, 12, 12, 0x05,
+@@ -43,9 +45,13 @@
+ qt_meta_data_DebugStream, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &DebugStream::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *DebugStream::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *DebugStream::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libFreeMat/Intrepreter.moc.cpp FreeMat-4.0.1-Source.new/libs/libFreeMat/Intrepreter.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libFreeMat/Intrepreter.moc.cpp 2009-10-09 06:24:21.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libFreeMat/Intrepreter.moc.cpp 2010-03-03 13:24:53.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'Interpreter.hpp'
+ **
+-** Created: Thu Oct 8 21:51:55 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:24:53 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "Interpreter.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'Interpreter.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_Interpreter[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 20, 12, // methods
++ 20, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 16, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 13, 12, 12, 12, 0x05,
+@@ -77,9 +79,13 @@
+ qt_meta_data_Interpreter, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &Interpreter::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *Interpreter::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *Interpreter::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libGraphics/GLWindow.moc.cpp FreeMat-4.0.1-Source.new/libs/libGraphics/GLWindow.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libGraphics/GLWindow.moc.cpp 2009-10-09 06:24:11.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libGraphics/GLWindow.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'GLWindow.hpp'
+ **
+-** Created: Thu Oct 8 21:52:04 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "GLWindow.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'GLWindow.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_GLWidget[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+ 0, 0, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ 0 // eod
+ };
+@@ -40,9 +42,13 @@
+ qt_meta_data_GLWidget, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &GLWidget::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *GLWidget::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *GLWidget::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libGraphics/HandleMultiEdit.moc.cpp FreeMat-4.0.1-Source.new/libs/libGraphics/HandleMultiEdit.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libGraphics/HandleMultiEdit.moc.cpp 2009-10-09 06:24:11.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libGraphics/HandleMultiEdit.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'HandleMultiEdit.hpp'
+ **
+-** Created: Thu Oct 8 21:52:05 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "HandleMultiEdit.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'HandleMultiEdit.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_HandleMultiEdit[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 1, 12, // methods
++ 1, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 1, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 17, 16, 16, 16, 0x05,
+@@ -43,9 +45,13 @@
+ qt_meta_data_HandleMultiEdit, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &HandleMultiEdit::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *HandleMultiEdit::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *HandleMultiEdit::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libGraphics/HandleUIControl.moc.cpp FreeMat-4.0.1-Source.new/libs/libGraphics/HandleUIControl.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libGraphics/HandleUIControl.moc.cpp 2009-10-09 06:24:11.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libGraphics/HandleUIControl.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'HandleUIControl.hpp'
+ **
+-** Created: Thu Oct 8 21:52:05 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "HandleUIControl.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'HandleUIControl.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_HandleUIControl[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 1, 12, // methods
++ 1, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ // slots: signature, parameters, type, tag, flags
+ 17, 16, 16, 16, 0x08,
+@@ -43,9 +45,13 @@
+ qt_meta_data_HandleUIControl, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &HandleUIControl::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *HandleUIControl::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *HandleUIControl::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libGraphics/HandleWindow.moc.cpp FreeMat-4.0.1-Source.new/libs/libGraphics/HandleWindow.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libGraphics/HandleWindow.moc.cpp 2009-10-09 06:24:11.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libGraphics/HandleWindow.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'HandleWindow.hpp'
+ **
+-** Created: Thu Oct 8 21:52:05 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "HandleWindow.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'HandleWindow.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_HandleWindow[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 6, 12, // methods
++ 6, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ // slots: signature, parameters, type, tag, flags
+ 14, 13, 13, 13, 0x0a,
+@@ -50,9 +52,13 @@
+ qt_meta_data_HandleWindow, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &HandleWindow::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *HandleWindow::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *HandleWindow::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/DataTable.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/DataTable.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/DataTable.moc.cpp 2009-10-09 06:24:19.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/DataTable.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'DataTable.hpp'
+ **
+-** Created: Thu Oct 8 21:52:15 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "DataTable.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'DataTable.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_DataTable[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+ 0, 0, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ 0 // eod
+ };
+@@ -40,9 +42,13 @@
+ qt_meta_data_DataTable, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &DataTable::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *DataTable::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *DataTable::qt_metacast(const char *_clname)
+@@ -63,13 +69,15 @@
+ static const uint qt_meta_data_DataView[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+ 0, 0, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ 0 // eod
+ };
+@@ -83,9 +91,13 @@
+ qt_meta_data_DataView, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &DataView::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *DataView::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *DataView::qt_metacast(const char *_clname)
+@@ -106,13 +118,15 @@
+ static const uint qt_meta_data_DataHeaderView[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 1, 12, // methods
++ 1, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ // slots: signature, parameters, type, tag, flags
+ 16, 15, 15, 15, 0x08,
+@@ -129,9 +143,13 @@
+ qt_meta_data_DataHeaderView, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &DataHeaderView::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *DataHeaderView::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *DataHeaderView::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/DebugWin.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/DebugWin.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/DebugWin.moc.cpp 2009-10-09 06:24:18.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/DebugWin.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'DebugWin.hpp'
+ **
+-** Created: Thu Oct 8 21:52:15 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "DebugWin.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'DebugWin.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_DebugWin[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 3, 12, // methods
++ 3, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ // slots: signature, parameters, type, tag, flags
+ 12, 10, 9, 9, 0x09,
+@@ -46,9 +48,13 @@
+ qt_meta_data_DebugWin, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &DebugWin::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *DebugWin::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *DebugWin::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/Editor.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/Editor.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/Editor.moc.cpp 2009-10-09 06:24:12.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/Editor.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'Editor.hpp'
+ **
+-** Created: Thu Oct 8 21:52:14 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "Editor.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'Editor.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_FMFindDialog[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 2, 12, // methods
++ 2, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 1, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 39, 14, 13, 13, 0x05,
+@@ -47,9 +49,13 @@
+ qt_meta_data_FMFindDialog, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &FMFindDialog::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *FMFindDialog::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *FMFindDialog::qt_metacast(const char *_clname)
+@@ -85,13 +91,15 @@
+ static const uint qt_meta_data_FMReplaceDialog[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 6, 12, // methods
++ 6, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 3, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 42, 17, 16, 16, 0x05,
+@@ -120,9 +128,13 @@
+ qt_meta_data_FMReplaceDialog, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &FMReplaceDialog::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *FMReplaceDialog::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *FMReplaceDialog::qt_metacast(const char *_clname)
+@@ -176,13 +188,15 @@
+ static const uint qt_meta_data_FMTextEdit[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 6, 12, // methods
++ 6, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 3, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 12, 11, 11, 11, 0x05,
+@@ -210,9 +224,13 @@
+ qt_meta_data_FMTextEdit, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &FMTextEdit::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *FMTextEdit::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *FMTextEdit::qt_metacast(const char *_clname)
+@@ -264,13 +282,15 @@
+ static const uint qt_meta_data_FMIndent[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 2, 12, // methods
++ 2, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ // slots: signature, parameters, type, tag, flags
+ 10, 9, 9, 9, 0x08,
+@@ -288,9 +308,13 @@
+ qt_meta_data_FMIndent, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &FMIndent::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *FMIndent::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *FMIndent::qt_metacast(const char *_clname)
+@@ -319,13 +343,15 @@
+ static const uint qt_meta_data_BreakPointIndicator[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+ 0, 0, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ 0 // eod
+ };
+@@ -339,9 +365,13 @@
+ qt_meta_data_BreakPointIndicator, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &BreakPointIndicator::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *BreakPointIndicator::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *BreakPointIndicator::qt_metacast(const char *_clname)
+@@ -362,13 +392,15 @@
+ static const uint qt_meta_data_FMLineNumber[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+ 0, 0, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ 0 // eod
+ };
+@@ -382,9 +414,13 @@
+ qt_meta_data_FMLineNumber, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &FMLineNumber::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *FMLineNumber::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *FMLineNumber::qt_metacast(const char *_clname)
+@@ -405,13 +441,15 @@
+ static const uint qt_meta_data_FMEditPane[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 1, 12, // methods
++ 1, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 1, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 23, 12, 11, 11, 0x05,
+@@ -428,9 +466,13 @@
+ qt_meta_data_FMEditPane, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &FMEditPane::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *FMEditPane::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *FMEditPane::qt_metacast(const char *_clname)
+@@ -465,13 +507,15 @@
+ static const uint qt_meta_data_FMIndentConf[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 1, 12, // methods
++ 1, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ // slots: signature, parameters, type, tag, flags
+ 14, 13, 13, 13, 0x08,
+@@ -488,9 +532,13 @@
+ qt_meta_data_FMIndentConf, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &FMIndentConf::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *FMIndentConf::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *FMIndentConf::qt_metacast(const char *_clname)
+@@ -518,13 +566,15 @@
+ static const uint qt_meta_data_FMSynLightConf[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 5, 12, // methods
++ 5, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ // slots: signature, parameters, type, tag, flags
+ 16, 15, 15, 15, 0x08,
+@@ -547,9 +597,13 @@
+ qt_meta_data_FMSynLightConf, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &FMSynLightConf::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *FMSynLightConf::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *FMSynLightConf::qt_metacast(const char *_clname)
+@@ -581,13 +635,15 @@
+ static const uint qt_meta_data_FMEditor[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 46, 12, // methods
++ 46, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 3, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 10, 9, 9, 9, 0x05,
+@@ -675,9 +731,13 @@
+ qt_meta_data_FMEditor, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &FMEditor::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *FMEditor::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *FMEditor::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/FileTool.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/FileTool.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/FileTool.moc.cpp 2009-10-09 06:24:20.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/FileTool.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'FileTool.hpp'
+ **
+-** Created: Thu Oct 8 21:52:15 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "FileTool.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'FileTool.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_FileTool[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 3, 12, // methods
++ 3, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 1, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 12, 10, 9, 9, 0x05,
+@@ -49,9 +51,13 @@
+ qt_meta_data_FileTool, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &FileTool::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *FileTool::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *FileTool::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/findform.ui.h FreeMat-4.0.1-Source.new/libs/libXP/findform.ui.h
+--- FreeMat-4.0.1-Source/libs/libXP/findform.ui.h 2009-10-09 06:24:12.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/findform.ui.h 2010-03-03 13:17:50.000000000 +0000
+@@ -1,10 +1,10 @@
+ /********************************************************************************
+-** Form generated from reading ui file 'findform.ui'
++** Form generated from reading UI file 'findform.ui'
+ **
+-** Created: Thu Oct 8 21:52:13 2009
+-** by: Qt User Interface Compiler version 4.5.2
++** Created: Wed Mar 3 13:17:50 2010
++** by: Qt User Interface Compiler version 4.6.2
+ **
+-** WARNING! All changes made in this file will be lost when recompiling ui file!
++** WARNING! All changes made in this file will be lost when recompiling UI file!
+ ********************************************************************************/
+
+ #ifndef FINDFORM_H
+@@ -69,7 +69,7 @@
+ #ifndef Q_OS_MAC
+ vboxLayout->setSpacing(6);
+ #endif
+- vboxLayout->setMargin(0);
++ vboxLayout->setContentsMargins(0, 0, 0, 0);
+ vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
+ vboxLayout->setContentsMargins(0, 0, 0, 0);
+ hboxLayout = new QHBoxLayout();
+@@ -77,7 +77,7 @@
+ hboxLayout->setSpacing(6);
+ #endif
+ #ifndef Q_OS_MAC
+- hboxLayout->setMargin(0);
++ hboxLayout->setContentsMargins(0, 0, 0, 0);
+ #endif
+ hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
+ label = new QLabel(layoutWidget);
+@@ -119,7 +119,7 @@
+ #ifndef Q_OS_MAC
+ vboxLayout1->setSpacing(6);
+ #endif
+- vboxLayout1->setMargin(0);
++ vboxLayout1->setContentsMargins(0, 0, 0, 0);
+ vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
+ vboxLayout1->setContentsMargins(0, 0, 0, 0);
+ cbSensitive = new QCheckBox(layoutWidget1);
+@@ -149,7 +149,7 @@
+ #ifndef Q_OS_MAC
+ vboxLayout2->setSpacing(6);
+ #endif
+- vboxLayout2->setMargin(0);
++ vboxLayout2->setContentsMargins(0, 0, 0, 0);
+ vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
+ vboxLayout2->setContentsMargins(0, 0, 0, 0);
+ btFind = new QPushButton(layoutWidget2);
+@@ -191,7 +191,6 @@
+ lbStatus->setText(QString());
+ btFind->setText(QApplication::translate("FMFindDialog", "Find", 0, QApplication::UnicodeUTF8));
+ btClose->setText(QApplication::translate("FMFindDialog", "Close", 0, QApplication::UnicodeUTF8));
+- Q_UNUSED(FMFindDialog);
+ } // retranslateUi
+
+ };
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/FMFontDialog.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/FMFontDialog.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/FMFontDialog.moc.cpp 2009-10-09 06:24:20.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/FMFontDialog.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'FMFontDialog.hpp'
+ **
+-** Created: Thu Oct 8 21:52:14 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "FMFontDialog.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'FMFontDialog.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_FMFontDialog[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 3, 12, // methods
++ 3, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ // slots: signature, parameters, type, tag, flags
+ 19, 14, 13, 13, 0x08,
+@@ -46,9 +48,13 @@
+ qt_meta_data_FMFontDialog, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &FMFontDialog::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *FMFontDialog::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *FMFontDialog::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/fontform.ui.h FreeMat-4.0.1-Source.new/libs/libXP/fontform.ui.h
+--- FreeMat-4.0.1-Source/libs/libXP/fontform.ui.h 2009-10-09 06:24:19.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/fontform.ui.h 2010-03-03 13:17:50.000000000 +0000
+@@ -1,10 +1,10 @@
+ /********************************************************************************
+-** Form generated from reading ui file 'fontform.ui'
++** Form generated from reading UI file 'fontform.ui'
+ **
+-** Created: Thu Oct 8 21:52:13 2009
+-** by: Qt User Interface Compiler version 4.5.2
++** Created: Wed Mar 3 13:17:50 2010
++** by: Qt User Interface Compiler version 4.6.2
+ **
+-** WARNING! All changes made in this file will be lost when recompiling ui file!
++** WARNING! All changes made in this file will be lost when recompiling UI file!
+ ********************************************************************************/
+
+ #ifndef FONTFORM_H
+@@ -80,7 +80,6 @@
+ label_2->setText(QApplication::translate("FixedFontDialog", "Size", 0, QApplication::UnicodeUTF8));
+ groupBox->setTitle(QApplication::translate("FixedFontDialog", "Sample", 0, QApplication::UnicodeUTF8));
+ sample->setText(QApplication::translate("FixedFontDialog", "AaBbZz123", 0, QApplication::UnicodeUTF8));
+- Q_UNUSED(FixedFontDialog);
+ } // retranslateUi
+
+ };
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/highlighter.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/highlighter.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/highlighter.moc.cpp 2009-10-09 06:24:19.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/highlighter.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'highlighter.hpp'
+ **
+-** Created: Thu Oct 8 21:52:15 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "highlighter.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'highlighter.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_Highlighter[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+ 0, 0, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ 0 // eod
+ };
+@@ -40,9 +42,13 @@
+ qt_meta_data_Highlighter, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &Highlighter::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *Highlighter::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *Highlighter::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/HistoryWidget.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/HistoryWidget.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/HistoryWidget.moc.cpp 2009-10-09 06:24:20.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/HistoryWidget.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'HistoryWidget.hpp'
+ **
+-** Created: Thu Oct 8 21:52:15 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "HistoryWidget.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'HistoryWidget.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_HistoryWidget[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 8, 12, // methods
++ 8, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 3, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 17, 15, 14, 14, 0x05,
+@@ -56,9 +58,13 @@
+ qt_meta_data_HistoryWidget, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &HistoryWidget::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *HistoryWidget::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *HistoryWidget::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/KeyManager.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/KeyManager.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/KeyManager.moc.cpp 2009-10-09 06:24:12.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/KeyManager.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'KeyManager.hpp'
+ **
+-** Created: Thu Oct 8 21:52:14 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "KeyManager.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'KeyManager.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_KeyManager[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 39, 12, // methods
++ 39, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 21, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 12, 11, 11, 11, 0x05,
+@@ -101,9 +103,13 @@
+ qt_meta_data_KeyManager, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &KeyManager::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *KeyManager::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *KeyManager::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/PathTool.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/PathTool.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/PathTool.moc.cpp 2009-10-09 06:24:12.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/PathTool.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'PathTool.hpp'
+ **
+-** Created: Thu Oct 8 21:52:14 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "PathTool.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'PathTool.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_PathTool[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 7, 12, // methods
++ 7, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ // slots: signature, parameters, type, tag, flags
+ 10, 9, 9, 9, 0x08,
+@@ -50,9 +52,13 @@
+ qt_meta_data_PathTool, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &PathTool::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *PathTool::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *PathTool::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/QTTerm.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/QTTerm.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/QTTerm.moc.cpp 2009-10-09 06:24:18.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/QTTerm.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'QTTerm.hpp'
+ **
+-** Created: Thu Oct 8 21:52:14 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "QTTerm.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'QTTerm.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_QTTerm[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 15, 12, // methods
++ 15, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 4, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 10, 8, 7, 7, 0x05,
+@@ -65,9 +67,13 @@
+ qt_meta_data_QTTerm, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &QTTerm::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *QTTerm::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *QTTerm::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/replaceform.ui.h FreeMat-4.0.1-Source.new/libs/libXP/replaceform.ui.h
+--- FreeMat-4.0.1-Source/libs/libXP/replaceform.ui.h 2009-10-09 06:24:12.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/replaceform.ui.h 2010-03-03 13:17:50.000000000 +0000
+@@ -1,10 +1,10 @@
+ /********************************************************************************
+-** Form generated from reading ui file 'replaceform.ui'
++** Form generated from reading UI file 'replaceform.ui'
+ **
+-** Created: Thu Oct 8 21:52:13 2009
+-** by: Qt User Interface Compiler version 4.5.2
++** Created: Wed Mar 3 13:17:50 2010
++** by: Qt User Interface Compiler version 4.6.2
+ **
+-** WARNING! All changes made in this file will be lost when recompiling ui file!
++** WARNING! All changes made in this file will be lost when recompiling UI file!
+ ********************************************************************************/
+
+ #ifndef REPLACEFORM_H
+@@ -74,7 +74,7 @@
+ #ifndef Q_OS_MAC
+ vboxLayout->setSpacing(6);
+ #endif
+- vboxLayout->setMargin(0);
++ vboxLayout->setContentsMargins(0, 0, 0, 0);
+ vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
+ vboxLayout->setContentsMargins(0, 0, 0, 0);
+ hboxLayout = new QHBoxLayout();
+@@ -82,7 +82,7 @@
+ hboxLayout->setSpacing(6);
+ #endif
+ #ifndef Q_OS_MAC
+- hboxLayout->setMargin(0);
++ hboxLayout->setContentsMargins(0, 0, 0, 0);
+ #endif
+ hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
+ label = new QLabel(layoutWidget);
+@@ -113,7 +113,7 @@
+ #ifndef Q_OS_MAC
+ hboxLayout1->setSpacing(6);
+ #endif
+- hboxLayout1->setMargin(0);
++ hboxLayout1->setContentsMargins(0, 0, 0, 0);
+ hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
+ label_2 = new QLabel(layoutWidget);
+ label_2->setObjectName(QString::fromUtf8("label_2"));
+@@ -146,7 +146,7 @@
+ #ifndef Q_OS_MAC
+ vboxLayout1->setSpacing(6);
+ #endif
+- vboxLayout1->setMargin(0);
++ vboxLayout1->setContentsMargins(0, 0, 0, 0);
+ vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
+ vboxLayout1->setContentsMargins(0, 0, 0, 0);
+ cbSensitive = new QCheckBox(layoutWidget1);
+@@ -176,7 +176,7 @@
+ #ifndef Q_OS_MAC
+ vboxLayout2->setSpacing(6);
+ #endif
+- vboxLayout2->setMargin(0);
++ vboxLayout2->setContentsMargins(0, 0, 0, 0);
+ vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
+ vboxLayout2->setContentsMargins(0, 0, 0, 0);
+ btReplace = new QPushButton(layoutWidget2);
+@@ -234,7 +234,6 @@
+ btReplaceAll->setText(QApplication::translate("FMReplaceDialog", "Replace All", 0, QApplication::UnicodeUTF8));
+ btFind->setText(QApplication::translate("FMReplaceDialog", "Find Next", 0, QApplication::UnicodeUTF8));
+ btClose->setText(QApplication::translate("FMReplaceDialog", "Close", 0, QApplication::UnicodeUTF8));
+- Q_UNUSED(FMReplaceDialog);
+ } // retranslateUi
+
+ };
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/StackTool.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/StackTool.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/StackTool.moc.cpp 2009-10-09 06:24:19.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/StackTool.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'StackTool.hpp'
+ **
+-** Created: Thu Oct 8 21:52:13 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "StackTool.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'StackTool.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_StackTool[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 3, 12, // methods
++ 3, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 1, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 11, 10, 10, 10, 0x05,
+@@ -49,9 +51,13 @@
+ qt_meta_data_StackTool, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &StackTool::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *StackTool::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *StackTool::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/ToolDock.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/ToolDock.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/ToolDock.moc.cpp 2009-10-09 06:24:19.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/ToolDock.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'ToolDock.hpp'
+ **
+-** Created: Thu Oct 8 21:52:15 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "ToolDock.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'ToolDock.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_ToolDock[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+ 0, 0, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ 0 // eod
+ };
+@@ -40,9 +42,13 @@
+ qt_meta_data_ToolDock, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &ToolDock::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *ToolDock::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *ToolDock::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/libs/libXP/VariablesTool.moc.cpp FreeMat-4.0.1-Source.new/libs/libXP/VariablesTool.moc.cpp
+--- FreeMat-4.0.1-Source/libs/libXP/VariablesTool.moc.cpp 2009-10-09 06:24:20.000000000 +0000
++++ FreeMat-4.0.1-Source.new/libs/libXP/VariablesTool.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'VariablesTool.hpp'
+ **
+-** Created: Thu Oct 8 21:52:15 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "VariablesTool.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'VariablesTool.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_VariablesTool[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 1, 12, // methods
++ 1, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 0, // signalCount
+
+ // slots: signature, parameters, type, tag, flags
+ 15, 14, 14, 14, 0x09,
+@@ -43,9 +45,13 @@
+ qt_meta_data_VariablesTool, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &VariablesTool::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *VariablesTool::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *VariablesTool::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/src/application.moc.cpp FreeMat-4.0.1-Source.new/src/application.moc.cpp
+--- FreeMat-4.0.1-Source/src/application.moc.cpp 2009-10-09 06:27:01.000000000 +0000
++++ FreeMat-4.0.1-Source.new/src/application.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'application.hpp'
+ **
+-** Created: Thu Oct 8 21:53:56 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "application.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'application.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_ApplicationWindow[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 31, 12, // methods
++ 31, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 6, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 19, 18, 18, 18, 0x05,
+@@ -86,9 +88,13 @@
+ qt_meta_data_ApplicationWindow, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &ApplicationWindow::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *ApplicationWindow::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *ApplicationWindow::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/src/DumbTerminal.moc.cpp FreeMat-4.0.1-Source.new/src/DumbTerminal.moc.cpp
+--- FreeMat-4.0.1-Source/src/DumbTerminal.moc.cpp 2009-10-09 06:27:01.000000000 +0000
++++ FreeMat-4.0.1-Source.new/src/DumbTerminal.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'DumbTerminal.hpp'
+ **
+-** Created: Thu Oct 8 21:53:56 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "DumbTerminal.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'DumbTerminal.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_DumbTerminal[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 13, 12, // methods
++ 13, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 3, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 16, 14, 13, 13, 0x05,
+@@ -63,9 +65,13 @@
+ qt_meta_data_DumbTerminal, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &DumbTerminal::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *DumbTerminal::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *DumbTerminal::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/src/FuncMode.moc.cpp FreeMat-4.0.1-Source.new/src/FuncMode.moc.cpp
+--- FreeMat-4.0.1-Source/src/FuncMode.moc.cpp 2009-10-09 06:27:01.000000000 +0000
++++ FreeMat-4.0.1-Source.new/src/FuncMode.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'FuncMode.hpp'
+ **
+-** Created: Thu Oct 8 21:53:56 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "FuncMode.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'FuncMode.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_FuncMode[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 2, 12, // methods
++ 2, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 1, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 10, 9, 9, 9, 0x05,
+@@ -46,9 +48,13 @@
+ qt_meta_data_FuncMode, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &FuncMode::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *FuncMode::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *FuncMode::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/src/MainApp.moc.cpp FreeMat-4.0.1-Source.new/src/MainApp.moc.cpp
+--- FreeMat-4.0.1-Source/src/MainApp.moc.cpp 2009-10-09 06:27:01.000000000 +0000
++++ FreeMat-4.0.1-Source.new/src/MainApp.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'MainApp.hpp'
+ **
+-** Created: Thu Oct 8 21:53:56 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "MainApp.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'MainApp.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_MainApp[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 21, 12, // methods
++ 21, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 3, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 9, 8, 8, 8, 0x05,
+@@ -75,9 +77,13 @@
+ qt_meta_data_MainApp, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &MainApp::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *MainApp::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *MainApp::qt_metacast(const char *_clname)
+diff -wbBur FreeMat-4.0.1-Source/src/Terminal.moc.cpp FreeMat-4.0.1-Source.new/src/Terminal.moc.cpp
+--- FreeMat-4.0.1-Source/src/Terminal.moc.cpp 2009-10-09 06:27:01.000000000 +0000
++++ FreeMat-4.0.1-Source.new/src/Terminal.moc.cpp 2010-03-03 13:22:19.000000000 +0000
+@@ -1,8 +1,8 @@
+ /****************************************************************************
+ ** Meta object code from reading C++ file 'Terminal.hpp'
+ **
+-** Created: Thu Oct 8 21:53:56 2009
+-** by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
++** Created: Wed Mar 3 13:22:19 2010
++** by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
+ **
+ ** WARNING! All changes made in this file will be lost!
+ *****************************************************************************/
+@@ -10,8 +10,8 @@
+ #include "Terminal.hpp"
+ #if !defined(Q_MOC_OUTPUT_REVISION)
+ #error "The header file 'Terminal.hpp' doesn't include <QObject>."
+-#elif Q_MOC_OUTPUT_REVISION != 61
+-#error "This file was generated using the moc from 4.5.2. It"
++#elif Q_MOC_OUTPUT_REVISION != 62
++#error "This file was generated using the moc from 4.6.2. It"
+ #error "cannot be used with the include files from this version of Qt."
+ #error "(The moc has changed too much.)"
+ #endif
+@@ -20,13 +20,15 @@
+ static const uint qt_meta_data_Terminal[] = {
+
+ // content:
+- 2, // revision
++ 4, // revision
+ 0, // classname
+ 0, 0, // classinfo
+- 13, 12, // methods
++ 13, 14, // methods
+ 0, 0, // properties
+ 0, 0, // enums/sets
+ 0, 0, // constructors
++ 0, // flags
++ 3, // signalCount
+
+ // signals: signature, parameters, type, tag, flags
+ 12, 10, 9, 9, 0x05,
+@@ -62,9 +64,13 @@
+ qt_meta_data_Terminal, 0 }
+ };
+
++#ifdef Q_NO_DATA_RELOCATION
++const QMetaObject &Terminal::getStaticMetaObject() { return staticMetaObject; }
++#endif //Q_NO_DATA_RELOCATION
++
+ const QMetaObject *Terminal::metaObject() const
+ {
+- return &staticMetaObject;
++ return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
+ }
+
+ void *Terminal::qt_metacast(const char *_clname)
diff --git a/community/freemat/freemat.install b/community/freemat/freemat.install
new file mode 100644
index 000000000..e319f1a24
--- /dev/null
+++ b/community/freemat/freemat.install
@@ -0,0 +1,7 @@
+post_install() {
+ echo "-- Use FreeMat -i /usr/share/FreeMat-4.0/ to adjust docs location"
+}
+
+post_upgrade() {
+ echo "-- Use FreeMat -i /usr/share/FreeMat-4.0/ to adjust docs location"
+}
diff --git a/community/freemat/input-fix.patch b/community/freemat/input-fix.patch
new file mode 100644
index 000000000..92a66176b
--- /dev/null
+++ b/community/freemat/input-fix.patch
@@ -0,0 +1,12 @@
+diff -wbBur FreeMat-4.0.1-Source/libs/libCore/Loader.cpp FreeMat-4.0.1-Source.my/libs/libCore/Loader.cpp
+--- FreeMat-4.0.1-Source/libs/libCore/Loader.cpp 2009-10-09 06:23:29.000000000 +0000
++++ FreeMat-4.0.1-Source.my/libs/libCore/Loader.cpp 2010-12-27 12:04:20.000000000 +0000
+@@ -388,7 +388,7 @@
+ context->addSpecialFunction("warning",WarningFunction,1,0,"msg",NULL);
+ context->addFunction("error",ErrorFunction,1,0,"string",NULL);
+ context->addSpecialFunction("eval",EvalFunction,2,-1,"try_clause","catch_clause",NULL);
+- context->addSpecialFunction("evalin",EvalInFunction,2,3,"workspace","expression",NULL);
++ context->addSpecialFunction("evalin",EvalInFunction,3,3,"workspace","expression","catch_clause",NULL);
+ context->addSpecialFunction("assignin",AssignInFunction,3,0,"workspace","variablename","value",NULL);
+ context->addSpecialFunction("feval",FevalFunction,-1,-1,NULL);
+ context->addSpecialFunction("exist",ExistFunction,2,1,"item","kind",NULL);