|
|
@ -102,12 +102,6 @@ static void closeNamespaces(const TQStringList& namespaces, TQTextStream& stream
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void writeIncludeMoc(const TQString& className, TQTextStream& stream)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
stream << "#include \"" << className.lower() << "Proxy.moc\"" << endl;
|
|
|
|
|
|
|
|
stream << endl;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void writeIncludes(const TQString& description, const TQStringList& includes,
|
|
|
|
static void writeIncludes(const TQString& description, const TQStringList& includes,
|
|
|
|
TQTextStream& stream)
|
|
|
|
TQTextStream& stream)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1062,8 +1056,6 @@ bool ClassGenerator::generateProxy(const Class& classData,
|
|
|
|
|
|
|
|
|
|
|
|
closeNamespaces(classDataCopy.namespaces, sourceStream);
|
|
|
|
closeNamespaces(classDataCopy.namespaces, sourceStream);
|
|
|
|
|
|
|
|
|
|
|
|
writeIncludeMoc(classData.name, sourceStream);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1098,4 +1090,11 @@ bool ClassGenerator::generateNode(const Class& classData,
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool ClassGenerator::generateIncludeMoc(const TQString& baseName, TQTextStream& stream)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
stream << "#include \"" << baseName << ".moc\"" << endl;
|
|
|
|
|
|
|
|
stream << endl;
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// End of File
|
|
|
|
// End of File
|
|
|
|