Mercurial > projects > qtd
comparison generator/dgenerator.cpp @ 314:80b52f5e97b6 lifetime
Structure without common root dir
author | maxter <spambox@d-coding.com> |
---|---|
date | Wed, 23 Dec 2009 23:17:36 +0200 |
parents | 5bcfe9e7db7f |
children | 2049c3abd348 |
comparison
equal
deleted
inserted
replaced
313:cb7fb9195175 | 314:80b52f5e97b6 |
---|---|
1903 auxFile.done(); | 1903 auxFile.done(); |
1904 } | 1904 } |
1905 | 1905 |
1906 if (!m_isRecursive) { | 1906 if (!m_isRecursive) { |
1907 s << "public import qt.QGlobal;" << endl | 1907 s << "public import qt.QGlobal;" << endl |
1908 << "public import qt.core.Qt;" << endl | 1908 << "public import qt.core.Qt;" << endl |
1909 << "public import qt.QtdObject;" << endl | 1909 << "public import qtd.QtdObject;" << endl |
1910 << "private import qt.core.QString;" << endl | 1910 << "import qt.core.QString;" << endl |
1911 << "private import qt.Array;" << endl; | 1911 << "import qtd.Array;" << endl; |
1912 if (d_class->isQObject()) { | 1912 if (d_class->isQObject()) { |
1913 s << "public import qt.core.QMetaObject;" << endl; | 1913 s << "public import qt.core.QMetaObject;" << endl; |
1914 s << "public import qt.Signal;" << endl; | 1914 s << "public import qtd.Signal;" << endl; |
1915 if (d_class->name() != "QObject") | 1915 if (d_class->name() != "QObject") |
1916 s << "public import qt.core.QObject;" << endl; | 1916 s << "public import qt.core.QObject;" << endl; |
1917 } | 1917 } |
1918 | 1918 |
1919 // qtd2 hack! | 1919 // qtd2 hack! |
1938 { | 1938 { |
1939 s << "import std.stdio;" << endl | 1939 s << "import std.stdio;" << endl |
1940 << "import std.string;" << endl | 1940 << "import std.string;" << endl |
1941 << "import std.utf;" << endl | 1941 << "import std.utf;" << endl |
1942 << "import core.memory;" << endl | 1942 << "import core.memory;" << endl |
1943 << "import qt.Core;" << endl; | 1943 << "import qtd.Core;" << endl; |
1944 } | 1944 } |
1945 else | 1945 else |
1946 { | 1946 { |
1947 s << "import tango.io.Stdout;" << endl | 1947 s << "import tango.io.Stdout;" << endl |
1948 << "import tango.stdc.stringz;" << endl | 1948 << "import tango.stdc.stringz;" << endl |