summaryrefslogtreecommitdiffstats
path: root/languages/cpp/kdevdeepcopy.h
blob: f006bbce5701493e23eea7080431db24cb553278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef KDEVDEEPCOPY_H
#define KDEVDEEPCOPY_H

#include <qstring.h>

inline QString deepCopy( const QString& s )
{
	QCString str = s.utf8();
	return QString::fromUtf8( str, str.length() );
}

#endif 
// kate: indent-mode csands; tab-width 4;