summaryrefslogtreecommitdiffstats
path: root/languages/cpp/kdevdeepcopy.h
blob: c29ee1e1c484ba47d361e2dd7023dcc86ca60bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef KDEVDEEPCOPY_H
#define KDEVDEEPCOPY_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;