summaryrefslogtreecommitdiffstats
path: root/languages/cpp/tdevdeepcopy.h
blob: 3b5d699500d55440e760bbcc92bfd25c7a9b1b01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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 
// kate: indent-mode csands; tab-width 4;