diff options
Diffstat (limited to 'lib/util/filetemplate.h')
-rw-r--r-- | lib/util/filetemplate.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/util/filetemplate.h b/lib/util/filetemplate.h index 8f863535..7802f9b7 100644 --- a/lib/util/filetemplate.h +++ b/lib/util/filetemplate.h @@ -22,7 +22,7 @@ #include <tqstring.h> -class KDevPlugin; +class TDevPlugin; class TQDomDocument; /** @@ -49,21 +49,21 @@ 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 TQString &name, Policy p = Default); + static bool exists(TDevPlugin *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 TQString read(KDevPlugin *part, const TQString &name, Policy p = Default); + static TQString read(TDevPlugin *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 TQString readFile(KDevPlugin *part, const TQString &fileName); + static TQString readFile(TDevPlugin *part, const TQString &fileName); /** * Makes variable substitutions on a text, based on a specified TQDomDocument @@ -76,13 +76,13 @@ public: * file with the name dest and - while copying - * performs variable substitutions. */ - static bool copy(KDevPlugin *part, const TQString &name, + static bool copy(TDevPlugin *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 TQString fullPathForName(KDevPlugin *part, const TQString &name, Policy p = Default); + static TQString fullPathForName(TDevPlugin *part, const TQString &name, Policy p = Default); }; #endif |