diff options
author | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-04-14 16:44:37 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:09:59 -0300 |
commit | 46cd570358601d83be0e23a378fc688d8ed706b6 (patch) | |
tree | b840837b15f6b4b1ebd1fc79269345778dffcefb /typesystem.cpp | |
parent | 97bff103c6de76a80088083ed2b909527f32c50f (diff) |
Include class moved to its own .h/.cpp file.
Diffstat (limited to 'typesystem.cpp')
-rw-r--r-- | typesystem.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/typesystem.cpp b/typesystem.cpp index 4f696c10c..e1992b867 100644 --- a/typesystem.cpp +++ b/typesystem.cpp @@ -1792,18 +1792,6 @@ IncludeList TypeDatabase::extraIncludes(const QString &className) return IncludeList(); } - - -QString Include::toString() const -{ - if (type == IncludePath) - return "#include <" + name + '>'; - else if (type == LocalPath) - return "#include \"" + name + "\""; - else - return "import " + name + ";"; -} - QString Modification::accessModifierString() const { if (isPrivate()) return "private"; @@ -2239,18 +2227,6 @@ QString ContainerTypeEntry::typeName() const } } -uint qHash(const Include& inc) -{ - return qHash(inc.name); -} - -QTextStream& operator<<(QTextStream& out, const Include& include) -{ - if (include.isValid()) - out << include.toString() << endl; - return out; -} - /* static void injectCode(ComplexTypeEntry *e, const char *signature, |