summaryrefslogtreecommitdiffstats
path: root/tools/designer/plugins/dlg
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/plugins/dlg')
-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 3744f750b..8978b88e8 100644
--- a/tools/designer/plugins/dlg/dlg2ui.cpp
+++ b/tools/designer/plugins/dlg/dlg2ui.cpp
@@ -102,7 +102,7 @@ static const struct {
{ "DlgWidget", "AdjustSize", 0, 0 },
{ "DlgWidget", "BackgroundMode", "backgroundMode", "enum" },
{ "DlgWidget", "BackgroundOrigin", "backgroundOrigin", "enum" },
- { "DlgWidget", "BackgroundPixmap", "backgroundPixmap", "qpixmap" },
+ { "DlgWidget", "BackgroundPixmap", "backgroundPixmap", "tqpixmap" },
{ "DlgWidget", "DataLenName", 0, 0 },
{ "DlgWidget", "DataVarName", 0, 0 },
{ "DlgWidget", "Enabled", "enabled", "boolean" },
@@ -112,7 +112,7 @@ static const struct {
{ "DlgWidget", "MaximumSize", "maximumSize", "tqsize" },
{ "DlgWidget", "MinimumSize", "minimumSize", "tqsize" },
{ "DlgWidget", "Name", 0, 0 },
- { "DlgWidget", "Palette", "palette", "qpalette" },
+ { "DlgWidget", "Palette", "palette", "tqpalette" },
{ "DlgWidget", "PalettePropagation", 0, 0 },
{ "DlgWidget", "ReadPixmapFromData", 0, 0 },
{ "DlgWidget", "Rect", 0, 0 },
@@ -725,11 +725,11 @@ void Dlg2Ui::emitWidgetBody( const TQDomElement& e, bool layouted )
name = getTextValue( n );
} else if ( tagName == TQString("Rect") ) {
TQRect rect = getValue( n.toElement(), tagName,
- TQString("qrect") )
+ TQString("tqrect") )
.toRect();
if ( !layouted )
emitProperty( TQString("geometry"), rect,
- TQString("qrect") );
+ TQString("tqrect") );
} else if ( tagName == TQString("SignalConnection") ) {
TQDomNode child = n.firstChild();
while ( !child.isNull() ) {
@@ -908,7 +908,7 @@ TQVariant Dlg2Ui::getValue( const TQDomElement& e, const TQString& tagName,
int height = getValue( children, TQString("Height"),
TQString("integer") ).toInt();
return TQSize( width, height );
- } else if ( type == TQString("qrect") ) {
+ } else if ( type == TQString("tqrect") ) {
int x = getValue( children, TQString("X"), TQString("integer") )
.toInt();
int y = getValue( children, TQString("Y"), TQString("integer") )
@@ -918,13 +918,13 @@ TQVariant Dlg2Ui::getValue( const TQDomElement& e, const TQString& tagName,
int height = getValue( children, TQString("Height"),
TQString("integer") ).toInt();
return TQRect( x, y, width, height );
- } else if ( type == TQString("qpoint") ) {
+ } else if ( type == TQString("tqpoint") ) {
int x = getValue( children, TQString("X"), TQString("integer") )
.toInt();
int y = getValue( children, TQString("Y"), TQString("integer") )
.toInt();
return TQPoint( x, y );
- } else if ( type == TQString("qpalette") ) {
+ } else if ( type == TQString("tqpalette") ) {
TQColorGroup active = getValue( children, TQString("Active"),
TQString("tqcolorgroup") )
.toColorGroup();
@@ -1372,7 +1372,7 @@ void Dlg2Ui::matchWidgetLayoutCommon( const TQDomElement& widgetLayoutCommon )
*/
#if 1
TQPoint initialPos = getValue( children, TQString("InitialPos"),
- TQString("qpoint") ).toPoint();
+ TQString("tqpoint") ).toPoint();
TQSize size = getValue( children, TQString("Size"), TQString("tqsize") )
.toSize();
#endif