diff 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
line wrap: on
line diff
--- a/generator/dgenerator.cpp	Mon May 18 19:03:06 2009 +0000
+++ b/generator/dgenerator.cpp	Mon May 18 22:15:59 2009 +0000
@@ -1909,9 +1909,9 @@
     if (!m_isRecursive) {
         s << "public import qt.QGlobal;" << endl
           << "public import qt.core.Qt;" << endl
-          << "import qt.QtDObject;" << endl
-          << "import qt.core.QString;" << endl
-          << "import qt.qtd.Array;" << endl;
+          << "private import qt.QtDObject;" << endl
+          << "private import qt.qtd.Array;" << endl
+          << "private import qt.core.QString;" << endl;
         if (d_class->isQObject()) {
             s << "public import qt.Signal;" << endl;
             if (d_class->name() != "QObject")