equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the Qt Designer of the Qt Toolkit. |
7 ** This file is part of the Qt Designer of the Qt Toolkit. |
8 ** |
8 ** |
61 } |
61 } |
62 |
62 |
63 static inline QString charToQString(const char *c) |
63 static inline QString charToQString(const char *c) |
64 { |
64 { |
65 if (!c) |
65 if (!c) |
66 return QString::null; |
66 return QString(); |
67 return QString::fromUtf8(c); |
67 return QString::fromUtf8(c); |
68 } |
68 } |
69 |
69 |
70 namespace { |
70 namespace { |
71 // ------- QDesignerMetaEnum |
71 // ------- QDesignerMetaEnum |