summaryrefslogtreecommitdiffstats
path: root/languages/java/tdevdeepcopy.h
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2014-03-02 20:05:33 +0100
committerSlávek Banko <[email protected]>2014-03-02 20:05:33 +0100
commit722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch)
treedb1b6b28566e5fe9accb4a688f7257673cecb080 /languages/java/tdevdeepcopy.h
parentafb74575caf7dd8ccb6c235b1c8d788e320c19da (diff)
downloadtdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz
tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip
Finish renaming tdevelop components
Diffstat (limited to 'languages/java/tdevdeepcopy.h')
-rw-r--r--languages/java/tdevdeepcopy.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/languages/java/tdevdeepcopy.h b/languages/java/tdevdeepcopy.h
new file mode 100644
index 00000000..c4f889c1
--- /dev/null
+++ b/languages/java/tdevdeepcopy.h
@@ -0,0 +1,12 @@
+#ifndef TDEVDEEPCOPY_H
+#define TDEVDEEPCOPY_H
+
+#include <tqstring.h>
+
+inline TQString deepCopy( const TQString& s )
+{
+ TQCString str = s.utf8();
+ return TQString::fromUtf8( str, str.length() );
+}
+
+#endif