diff options
Diffstat (limited to 'kdevdesigner/shared/ui2uib.cpp')
-rw-r--r-- | kdevdesigner/shared/ui2uib.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdevdesigner/shared/ui2uib.cpp b/kdevdesigner/shared/ui2uib.cpp index 76c522f9..7e56dfa1 100644 --- a/kdevdesigner/shared/ui2uib.cpp +++ b/kdevdesigner/shared/ui2uib.cpp @@ -134,7 +134,7 @@ use UibMagic + 1 for version 2, UibMagic + 2 for version 3, etc. */ -static TQCString tqlayoutForTag( const TQString& tag ) +static TQCString layoutForTag( const TQString& tag ) { if ( tag == "grid" ) { return TQGRIDLAYOUT_OBJECT_NAME_STRING; @@ -458,7 +458,7 @@ static void outputLayoutWidgetsSubLayout( TQMap<int, TQStringList>& buddies, if ( tag == "grid" || tag == "hbox" || tag == "vbox" ) { out << (TQ_UINT8) Object_SubLayout; subLayoutNo = outputObject( buddies, objects, strings, out, f, - tqlayoutForTag(tag) ); + layoutForTag(tag) ); } else if ( tag == "property" ) { if ( f.attribute("name") == "name" ) { name = DomTool::elementToVariant( f, name ).asCString(); @@ -542,7 +542,7 @@ static int outputObject( TQMap<int, TQStringList>& buddies, } else if ( tag == "grid" || tag == "hbox" || tag == "vbox" ) { out << (TQ_UINT8) Object_SubLayout; outputObject( buddies, objects, strings, out, f, - tqlayoutForTag(tag) ); + layoutForTag(tag) ); } else if ( tag == "item" ) { if ( elem.tagName() == "menubar" ) { out << (TQ_UINT8) Object_MenuItem; @@ -682,7 +682,7 @@ void convertUiToUib( TQDomDocument& doc, TQDataStream& out ) } break; case 'l': - if ( tag == "tqlayoutdefaults" ) { + if ( tag == "layoutdefaults" ) { TQString margin = elem.attribute( "margin" ); if ( !margin.isEmpty() ) defaultMargin = margin.toInt(); |