summaryrefslogtreecommitdiffstats
path: root/tools/designer/plugins/dlg/dlg2ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/plugins/dlg/dlg2ui.cpp')
-rw-r--r--tools/designer/plugins/dlg/dlg2ui.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/tools/designer/plugins/dlg/dlg2ui.cpp b/tools/designer/plugins/dlg/dlg2ui.cpp
index 23e18063e..a89934659 100644
--- a/tools/designer/plugins/dlg/dlg2ui.cpp
+++ b/tools/designer/plugins/dlg/dlg2ui.cpp
@@ -78,7 +78,7 @@ static const struct {
} propertyDefs[] = {
{ "Button", "AutoRepeat", "autoRepeat", "boolean" },
{ "Button", "AutoResize", 0, 0 },
- { "Button", "Text", "text", "qstring" },
+ { "Button", "Text", "text", "tqstring" },
{ "ButtonGroup", "Exclusive", "exclusive", "boolean" },
{ "ButtonGroup", "RadioButtonExclusive", "radioButtonExclusive",
"boolean" },
@@ -123,7 +123,7 @@ static const struct {
{ "Frame", "LineWidth", "lineWidth", "integer" },
{ "Frame", "MidLineWidth", "midLineWidth", "integer" },
{ "Frame", "Style", 0, 0 },
- { "GroupBox", "Title", "title", "qstring" },
+ { "GroupBox", "Title", "title", "tqstring" },
{ "IconView", "AlignMode", 0, 0 },
{ "IconView", "Aligning", 0, 0 },
{ "IconView", "Arrangement", "arrangement", "enum" },
@@ -148,12 +148,12 @@ static const struct {
{ "LCDNumber", "Value", 0, 0 },
{ "Label", "AutoResize", 0, 0 },
{ "Label", "Indent", "indent", "integer" },
- { "Label", "Text", "text", "qstring" },
+ { "Label", "Text", "text", "tqstring" },
{ "Label", "TextFormat", "textFormat", "enum" },
{ "LineEdit", "EchoMode", "echoMode", "enum" },
{ "LineEdit", "FrameShown", "frame", "boolean" },
{ "LineEdit", "MaxLength", "maxLength", "integer" },
- { "LineEdit", "Text", "text", "qstring" },
+ { "LineEdit", "Text", "text", "tqstring" },
{ "ListBox", "AutoScroll", 0, 0 },
{ "ListBox", "AutoUpdate", 0, 0 },
{ "ListBox", "ColumnMode", "columnMode", "enum" },
@@ -214,10 +214,10 @@ static const struct {
{ "SpinBox", "ButtonSymbols", "buttonSymbols", "enum" },
{ "SpinBox", "MaxValue", "maxValue", "integer" },
{ "SpinBox", "MinValue", "minValue", "integer" },
- { "SpinBox", "Prefix", "prefix", "qstring" },
- { "SpinBox", "SpecialValue", "specialValueText", "qstring" },
+ { "SpinBox", "Prefix", "prefix", "tqstring" },
+ { "SpinBox", "SpecialValue", "specialValueText", "tqstring" },
{ "SpinBox", "Step", "lineStep", "integer" },
- { "SpinBox", "Suffix", "suffix", "qstring" },
+ { "SpinBox", "Suffix", "suffix", "tqstring" },
{ "SpinBox", "Wrapping", "wrapping", "boolean" },
{ "Splitter", "OpaqueResize", 0, 0 },
{ "Splitter", "Orientation", "orientation", "enum" },
@@ -225,7 +225,7 @@ static const struct {
{ "TabBar", "TabNames", 0, 0 },
{ "TextView", "Context", 0, 0 },
{ "TextView", "LinkUnderline", "linkUnderline", "boolean" },
- { "TextView", "Text", "text", "qstring" },
+ { "TextView", "Text", "text", "tqstring" },
{ "TextView", "TextFormat", "textFormat", "enum" },
{ "User", "UserClassHeader", 0, 0 },
{ "User", "UserClassName", 0, 0 },
@@ -824,7 +824,7 @@ void Dlg2Ui::emitWidgetBody( const TQDomElement& e, bool layouted )
TQString type( propertyDefs[*p].type );
TQVariant val = getValue( n.toElement(), tagName, type );
- if ( type == TQString("qstring") )
+ if ( type == TQString("tqstring") )
type = TQString( "string" );
bool omit = FALSE;
@@ -872,7 +872,7 @@ TQString Dlg2Ui::normalizeType( const TQString& type )
TQString t = type;
if ( t.isEmpty() || t == TQString("enum") || t == TQString( "qcstring" ) ||
t == TQString("set") )
- t = TQString( "qstring" );
+ t = TQString( "tqstring" );
return t;
}
@@ -896,7 +896,7 @@ TQVariant Dlg2Ui::getValue( const TQDomElement& e, const TQString& tagName,
return getTextValue( e ).toDouble();
} else if ( type == TQString("qcstring") ) {
return getTextValue( e ).latin1();
- } else if ( type == TQString("enum") || type == TQString("qstring") ||
+ } else if ( type == TQString("enum") || type == TQString("tqstring") ||
type == TQString("set") ) {
return getTextValue( e );
} else {
@@ -937,7 +937,7 @@ TQVariant Dlg2Ui::getValue( const TQDomElement& e, const TQString& tagName,
return TQPalette( active, disabled, inactive );
} else if ( type == TQString("qfont") ) {
TQString family = getValue( children, TQString("Family"),
- TQString("qstring") ).toString();
+ TQString("tqstring") ).toString();
int pointSize = getValue( children, TQString("PointSize"),
TQString("integer") ).toInt();
int weight = getValue( children, TQString("weight"),