diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-02 21:37:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-06 11:24:55 +0900 |
commit | 7552c6d73043b1040139033f6864db48ae5446cf (patch) | |
tree | f90d24d072dd3ee6a3f909bf7778abc7669f03ef /tools/designer/plugins/dlg/dlg2ui.cpp | |
parent | c113da2069b66130f67a0f27c699e1cec83588a5 (diff) | |
download | tqt3-7552c6d73043b1040139033f6864db48ae5446cf.tar.gz tqt3-7552c6d73043b1040139033f6864db48ae5446cf.zip |
Rename main window nt* related files to equivalent tq*. The file
"ntqsession.h" was totally unnecessary and has been removed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools/designer/plugins/dlg/dlg2ui.cpp')
-rw-r--r-- | tools/designer/plugins/dlg/dlg2ui.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/designer/plugins/dlg/dlg2ui.cpp b/tools/designer/plugins/dlg/dlg2ui.cpp index 2f6a6b1b4..bb18507c5 100644 --- a/tools/designer/plugins/dlg/dlg2ui.cpp +++ b/tools/designer/plugins/dlg/dlg2ui.cpp @@ -109,8 +109,8 @@ static const struct { { "DlgWidget", "FocusPolicy", "focusPolicy", "enum" }, { "DlgWidget", "Font", "font", "qfont" }, { "DlgWidget", "FontPropagation", 0, 0 }, - { "DlgWidget", "MaximumSize", "maximumSize", "qsize" }, - { "DlgWidget", "MinimumSize", "minimumSize", "qsize" }, + { "DlgWidget", "MaximumSize", "maximumSize", "tqsize" }, + { "DlgWidget", "MinimumSize", "minimumSize", "tqsize" }, { "DlgWidget", "Name", 0, 0 }, { "DlgWidget", "Palette", "palette", "qpalette" }, { "DlgWidget", "PalettePropagation", 0, 0 }, @@ -573,7 +573,7 @@ void Dlg2Ui::emitSpacer( int spacing, int stretch ) TQString("Spacer%1").arg(uniqueSpacer++).latin1() ); emitProperty( TQString("orientation"), orientationStr, TQString("enum") ); if ( spacing > 0 ) - emitProperty( TQString("sizeHint"), sizeHint, TQString("qsize") ); + emitProperty( TQString("sizeHint"), sizeHint, TQString("tqsize") ); emitProperty( TQString("sizeType"), sizeType, TQString("enum") ); emitClosing( TQString("spacer") ); } @@ -902,7 +902,7 @@ TQVariant Dlg2Ui::getValue( const TQDomElement& e, const TQString& tagName, } else { TQDomNodeList children = e.childNodes(); - if ( type == TQString("qsize") ) { + if ( type == TQString("tqsize") ) { int width = getValue( children, TQString("Width"), TQString("integer") ).toInt(); int height = getValue( children, TQString("Height"), @@ -1373,12 +1373,12 @@ void Dlg2Ui::matchWidgetLayoutCommon( const TQDomElement& widgetLayoutCommon ) #if 1 TQPoint initialPos = getValue( children, TQString("InitialPos"), TQString("qpoint") ).toPoint(); - TQSize size = getValue( children, TQString("Size"), TQString("qsize") ) + TQSize size = getValue( children, TQString("Size"), TQString("tqsize") ) .toSize(); #endif - TQSize minSize = getValue( children, TQString("MinSize"), TQString("qsize") ) + TQSize minSize = getValue( children, TQString("MinSize"), TQString("tqsize") ) .toSize(); - TQSize maxSize = getValue( children, TQString("MaxSize"), TQString("qsize") ) + TQSize maxSize = getValue( children, TQString("MaxSize"), TQString("tqsize") ) .toSize(); #if 1 |