From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/util/filetemplate.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/util/filetemplate.h') diff --git a/lib/util/filetemplate.h b/lib/util/filetemplate.h index f179f5be..b1ba2cdc 100644 --- a/lib/util/filetemplate.h +++ b/lib/util/filetemplate.h @@ -20,7 +20,7 @@ #ifndef _FILETEMPLATE_H_ #define _FILETEMPLATE_H_ -#include +#include class KDevPlugin; class QDomDocument; @@ -49,40 +49,40 @@ public: * exists in the current project. File templates * are stored in the "templates" subdirectory of a project or in application shared dirs. */ - static bool exists(KDevPlugin *part, const QString &name, Policy p = Default); + static bool exists(KDevPlugin *part, const TQString &name, Policy p = Default); /** * Reads a template with the given name (e.g. "cpp") * and makes variable substitutions (like $AUTHOR$ etc.) * in it. The resulting string is returned. */ - static QString read(KDevPlugin *part, const QString &name, Policy p = Default); + static TQString read(KDevPlugin *part, const TQString &name, Policy p = Default); /** * Reads a template with the given URL * and makes variable substitutions (like $AUTHOR$ etc.) * in it. The resulting string is returned. */ - static QString readFile(KDevPlugin *part, const QString &fileName); + static TQString readFile(KDevPlugin *part, const TQString &fileName); /** - * Makes variable substitutions on a text, based on a specified QDomDocument + * Makes variable substitutions on a text, based on a specified TQDomDocument * describing a KDevelop project file. The resulting string is returned. */ - static QString makeSubstitutions(QDomDocument &dom, const QString &text); + static TQString makeSubstitutions(TQDomDocument &dom, const TQString &text); /** * Copies a file template with the given name to the * file with the name dest and - while copying - * performs variable substitutions. */ - static bool copy(KDevPlugin *part, const QString &name, - const QString &dest, Policy p = Default); + static bool copy(KDevPlugin *part, const TQString &name, + const TQString &dest, Policy p = Default); /** * Translates a template name into a full path, or suggests a full path * for the template in the project directory if it doesn't exist. */ - static QString fullPathForName(KDevPlugin *part, const QString &name, Policy p = Default); + static TQString fullPathForName(KDevPlugin *part, const TQString &name, Policy p = Default); }; #endif -- cgit v1.2.1