Mercurial > projects > qtd
comparison generator/dgenerator.cpp @ 344:96a75b1e5b26
project structure changes
author | Max Samukha <maxter@spambox.com> |
---|---|
date | Fri, 14 May 2010 12:14:37 +0300 |
parents | c887282e1590 |
children | 31520b2c0b3c |
comparison
equal
deleted
inserted
replaced
343:552647ec0f82 | 344:96a75b1e5b26 |
---|---|
1947 } | 1947 } |
1948 | 1948 |
1949 if (!m_isRecursive) { | 1949 if (!m_isRecursive) { |
1950 s << "public import qt.QGlobal;" << endl | 1950 s << "public import qt.QGlobal;" << endl |
1951 << "public import qt.core.Qt;" << endl | 1951 << "public import qt.core.Qt;" << endl |
1952 << "private import qt.QtdObject;" << endl | 1952 << "private import qtd.QtdObject;" << endl |
1953 << "private import qt.core.QString;" << endl | 1953 << "private import qt.core.QString;" << endl |
1954 << "private import qt.qtd.Array;" << endl | 1954 << "private import qtd.Array;" << endl |
1955 << "private import qt.core.QList;" << endl; | 1955 << "private import qt.core.QList;" << endl; |
1956 if (d_class->isQObject()) { | 1956 if (d_class->isQObject()) { |
1957 s << "public import qt.Signal;" << endl | 1957 s << "public import qtd.Signal;" << endl |
1958 << "public import qt.qtd.MOC;" << endl | 1958 << "public import qtd.MOC;" << endl |
1959 << "public import qt.core.QMetaObject;" << endl | 1959 << "public import qtd.Traits;" << endl |
1960 << "public import qt.qtd.Traits;" << endl; | 1960 << "public import qt.core.QMetaObject;" << endl; |
1961 | 1961 |
1962 if (d_class->name() != "QObject") | 1962 if (d_class->name() != "QObject") |
1963 s << "public import qt.core.QObject;" << endl; | 1963 s << "public import qt.core.QObject;" << endl; |
1964 } | 1964 } |
1965 | 1965 |