aboutsummaryrefslogtreecommitdiffstats
path: root/typesystem.cpp
diff options
context:
space:
mode:
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,