summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/resource.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-07 19:27:29 +0900
committerMichele Calgaro <[email protected]>2023-11-09 10:21:35 +0900
commit521604defa90ca9cf8cdcf0c8e3c8f2579bb8092 (patch)
treeaca33c8a5d0b537d70889e2f43cb34610c35d68b /kdevdesigner/designer/resource.cpp
parentbaf125d9b448d63fd97e63f9855d2094aa8d015c (diff)
downloadtdevelop-521604defa90ca9cf8cdcf0c8e3c8f2579bb8092.tar.gz
tdevelop-521604defa90ca9cf8cdcf0c8e3c8f2579bb8092.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 6b0cf55d6252a256d9fc5bcb89837bec7f21f40d)
Diffstat (limited to 'kdevdesigner/designer/resource.cpp')
-rw-r--r--kdevdesigner/designer/resource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdevdesigner/designer/resource.cpp b/kdevdesigner/designer/resource.cpp
index 8f74f39a..134f6c72 100644
--- a/kdevdesigner/designer/resource.cpp
+++ b/kdevdesigner/designer/resource.cpp
@@ -825,7 +825,7 @@ void Resource::paste( const TQString &cb, TQWidget *parent )
w->move( x, y );
formwindow->selectWidget( TQT_TQOBJECT(w) );
} else if ( firstWidget.tagName() == "spacer" ) {
- TQWidget *w = createSpacer( firstWidget, parent, 0, firstWidget.tagName() == "vspacer" ? Qt::Vertical : Qt::Horizontal );
+ TQWidget *w = createSpacer( firstWidget, parent, 0, firstWidget.tagName() == "vspacer" ? TQt::Vertical : TQt::Horizontal );
if ( !w )
continue;
widgets.append( w );
@@ -1883,7 +1883,7 @@ TQObject *Resource::createObject( const TQDomElement &e, TQWidget *parent, TQLay
while ( !n.isNull() ) {
if ( n.tagName() == "spacer" ) {
- createSpacer( n, w, layout, Qt::Horizontal );
+ createSpacer( n, w, layout, TQt::Horizontal );
} else if ( n.tagName() == "widget" ) {
createObject( n, w, layout );
} else if ( n.tagName() == "hbox" ) {
@@ -2139,7 +2139,7 @@ void Resource::createItem( const TQDomElement &e, TQWidget *widget, TQListViewIt
}
}
-TQWidget *Resource::createSpacer( const TQDomElement &e, TQWidget *parent, TQLayout *layout, Qt::Orientation o )
+TQWidget *Resource::createSpacer( const TQDomElement &e, TQWidget *parent, TQLayout *layout, TQt::Orientation o )
{
TQDomElement n = e.firstChild().toElement();
int row = e.attribute( "row" ).toInt();