1 | /**********************************************************************
|
---|
2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
|
---|
3 | **
|
---|
4 | ** This file is part of Qt Designer.
|
---|
5 | **
|
---|
6 | ** This file may be distributed and/or modified under the terms of the
|
---|
7 | ** GNU General Public License version 2 as published by the Free Software
|
---|
8 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
---|
9 | ** packaging of this file.
|
---|
10 | **
|
---|
11 | ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
|
---|
12 | ** licenses may use this file in accordance with the Qt Commercial License
|
---|
13 | ** Agreement provided with the Software.
|
---|
14 | **
|
---|
15 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
---|
16 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
---|
17 | **
|
---|
18 | ** See http://www.trolltech.com/gpl/ for GPL licensing information.
|
---|
19 | ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
|
---|
20 | ** information about Qt Commercial License Agreements.
|
---|
21 | **
|
---|
22 | ** Contact info@trolltech.com if any conditions of this licensing are
|
---|
23 | ** not clear to you.
|
---|
24 | **
|
---|
25 | **********************************************************************/
|
---|
26 |
|
---|
27 | #include "uib.h"
|
---|
28 |
|
---|
29 | static const char commonStrings[] =
|
---|
30 | "\0()\0(bool)\0(const QString&)\0(int)\0C++\0Layout1\0PNG\0QCheckBox\0"
|
---|
31 | "QComboBox\0QDialog\0QFrame\0QGridLayout\0QGroupBox\0QHBoxLayout\0QLabel\0"
|
---|
32 | "QLineEdit\0QListView\0QPushButton\0QRadioButton\0QVBoxLayout\0QWidget\0"
|
---|
33 | "TextLabel1\0XPM.GZ\0accept\0autoDefault\0buddy\0caption\0clicked\0"
|
---|
34 | "default\0destroy\0frameShadow\0frameShape\0geometry\0init\0margin\0"
|
---|
35 | "maximumSize\0minimumSize\0name\0reject\0sizePolicy\0spacing\0text\0title\0"
|
---|
36 | "toolTip\0unnamed\0whatsThis";
|
---|
37 |
|
---|
38 | UibStrTable::UibStrTable()
|
---|
39 | : out( table, IO_WriteOnly ), start( sizeof(commonStrings) )
|
---|
40 | {
|
---|
41 | out.writeRawBytes( commonStrings, start );
|
---|
42 | }
|
---|