summaryrefslogtreecommitdiffstats
path: root/ksim/library/themetypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksim/library/themetypes.h')
-rw-r--r--ksim/library/themetypes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksim/library/themetypes.h b/ksim/library/themetypes.h
index 0f34fbf..82b7aa3 100644
--- a/ksim/library/themetypes.h
+++ b/ksim/library/themetypes.h
@@ -56,12 +56,12 @@ namespace KSim
};
/**
- * @return the ThemeType enum as a QString
+ * @return the ThemeType enum as a TQString
*/
inline TQString typeToString(int type, bool incSlash = true)
{
if (type == Types::None)
- return TQString::null;
+ return TQString();
// This array MUST be in the same order
// as the ThemeType enum
@@ -74,7 +74,7 @@ namespace KSim
TQString returnString;
returnString.setLatin1(typeNames[type]);
- return incSlash ? returnString + TQString::fromLatin1("/") : returnString;
+ return incSlash ? returnString + TQString::tqfromLatin1("/") : returnString;
}
}
}