summaryrefslogtreecommitdiffstats
path: root/lib/util/filetemplate.h
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2014-03-02 20:05:33 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-03-02 20:05:33 +0100
commit722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch)
treedb1b6b28566e5fe9accb4a688f7257673cecb080 /lib/util/filetemplate.h
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'lib/util/filetemplate.h')
-rw-r--r--lib/util/filetemplate.h12
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