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.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/designer/plugins/dlg/dlg2ui.cpp b/tools/designer/plugins/dlg/dlg2ui.cpp
index 924eef88..3744f750 100644
--- a/tools/designer/plugins/dlg/dlg2ui.cpp
+++ b/tools/designer/plugins/dlg/dlg2ui.cpp
@@ -107,7 +107,7 @@ static const struct {
{ "DlgWidget", "DataVarName", 0, 0 },
{ "DlgWidget", "Enabled", "enabled", "boolean" },
{ "DlgWidget", "FocusPolicy", "focusPolicy", "enum" },
- { "DlgWidget", "Font", "font", "qfont" },
+ { "DlgWidget", "Font", "font", "tqfont" },
{ "DlgWidget", "FontPropagation", 0, 0 },
{ "DlgWidget", "MaximumSize", "maximumSize", "tqsize" },
{ "DlgWidget", "MinimumSize", "minimumSize", "tqsize" },
@@ -926,16 +926,16 @@ TQVariant Dlg2Ui::getValue( const TQDomElement& e, const TQString& tagName,
return TQPoint( x, y );
} else if ( type == TQString("qpalette") ) {
TQColorGroup active = getValue( children, TQString("Active"),
- TQString("qcolorgroup") )
+ TQString("tqcolorgroup") )
.toColorGroup();
TQColorGroup disabled = getValue( children, TQString("Disabled"),
- TQString("qcolorgroup") )
+ TQString("tqcolorgroup") )
.toColorGroup();
TQColorGroup inactive = getValue( children, TQString("Inactive"),
- TQString("qcolorgroup") )
+ TQString("tqcolorgroup") )
.toColorGroup();
return TQPalette( active, disabled, inactive );
- } else if ( type == TQString("qfont") ) {
+ } else if ( type == TQString("tqfont") ) {
TQString family = getValue( children, TQString("Family"),
TQString("tqstring") ).toString();
int pointSize = getValue( children, TQString("PointSize"),
@@ -964,7 +964,7 @@ TQVariant Dlg2Ui::getValue( const TQDomElement& e, const TQString& tagName,
if ( styleHint != 0 )
f.setStyleHint( (TQFont::StyleHint) styleHint );
return f;
- } else if ( type == TQString("qcolor") ) {
+ } else if ( type == TQString("tqcolor") ) {
// if any component missing, zero is to be assumed
int red = getValue( children, TQString("Red"), TQString("integer") )
.toInt();
@@ -973,7 +973,7 @@ TQVariant Dlg2Ui::getValue( const TQDomElement& e, const TQString& tagName,
int blue = getValue( children, TQString("Blue"), TQString("integer") )
.toInt();
return TQColor( red, green, blue );
- } else if ( type == TQString("qcolorgroup") ) {
+ } else if ( type == TQString("tqcolorgroup") ) {
static const TQColorGroup::ColorRole roles[NumColorRoles] = {
TQColorGroup::Foreground, TQColorGroup::Button,
TQColorGroup::Light, TQColorGroup::Midlight, TQColorGroup::Dark,
@@ -992,7 +992,7 @@ TQVariant Dlg2Ui::getValue( const TQDomElement& e, const TQString& tagName,
for ( int i = 0; i < NumColorRoles; i++ )
group.setColor( roles[i],
getValue(children, TQString(roleNames[i]),
- TQString("qcolor")).toColor() );
+ TQString("tqcolor")).toColor() );
return group;
} else {
syntaxError();