diff 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
line wrap: on
line diff
--- a/generator/dgenerator.cpp	Wed Dec 23 16:58:17 2009 +0200
+++ b/generator/dgenerator.cpp	Wed Dec 23 23:17:36 2009 +0200
@@ -1905,13 +1905,13 @@
 
     if (!m_isRecursive) {
         s << "public import qt.QGlobal;" << endl
-          << "public import qt.core.Qt;" << endl
-          << "public import qt.QtdObject;" << endl
-          << "private import qt.core.QString;" << endl
-          << "private import qt.Array;" << endl;
+          << "public import qt.core.Qt;" << endl          
+          << "public import qtd.QtdObject;" << endl
+          << "import qt.core.QString;" << endl
+          << "import qtd.Array;" << endl;
         if (d_class->isQObject()) {
             s << "public import qt.core.QMetaObject;" << endl;
-            s << "public import qt.Signal;" << endl;
+            s << "public import qtd.Signal;" << endl;
             if (d_class->name() != "QObject")
                 s << "public import qt.core.QObject;" << endl;
         }
@@ -1940,7 +1940,7 @@
               << "import std.string;" << endl
               << "import std.utf;" << endl
               << "import core.memory;" << endl
-              << "import qt.Core;" << endl;
+              << "import qtd.Core;" << endl;
         }
         else
         {