Mercurial > projects > qtd
comparison generator/dgenerator.cpp @ 56:d5a6b6269f44
duic is working now on the first testcase, if there are any issues with it please report
author | eldar |
---|---|
date | Mon, 18 May 2009 22:15:59 +0000 |
parents | a5cba313c924 |
children | 1750a803af74 |
comparison
equal
deleted
inserted
replaced
55:63c31e221118 | 56:d5a6b6269f44 |
---|---|
1907 } | 1907 } |
1908 | 1908 |
1909 if (!m_isRecursive) { | 1909 if (!m_isRecursive) { |
1910 s << "public import qt.QGlobal;" << endl | 1910 s << "public import qt.QGlobal;" << endl |
1911 << "public import qt.core.Qt;" << endl | 1911 << "public import qt.core.Qt;" << endl |
1912 << "import qt.QtDObject;" << endl | 1912 << "private import qt.QtDObject;" << endl |
1913 << "import qt.core.QString;" << endl | 1913 << "private import qt.qtd.Array;" << endl |
1914 << "import qt.qtd.Array;" << endl; | 1914 << "private import qt.core.QString;" << endl; |
1915 if (d_class->isQObject()) { | 1915 if (d_class->isQObject()) { |
1916 s << "public import qt.Signal;" << endl; | 1916 s << "public import qt.Signal;" << endl; |
1917 if (d_class->name() != "QObject") | 1917 if (d_class->name() != "QObject") |
1918 s << "public import qt.core.QObject;" << endl; | 1918 s << "public import qt.core.QObject;" << endl; |
1919 } | 1919 } |