aboutsummaryrefslogtreecommitdiffstats
path: root/typesystem.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-04-14 16:44:37 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:09:59 -0300
commit46cd570358601d83be0e23a378fc688d8ed706b6 (patch)
treeb840837b15f6b4b1ebd1fc79269345778dffcefb /typesystem.cpp
parent97bff103c6de76a80088083ed2b909527f32c50f (diff)
Include class moved to its own .h/.cpp file.
Diffstat (limited to 'typesystem.cpp')
-rw-r--r--typesystem.cpp24
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,