diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 539a1fd1ae6290cc3eec745226c0ce45b02c1545 (patch) | |
tree | e1cf785f3b349d568bade07dccdb5b39eb862331 /kdevdesigner/shared | |
parent | 82324bf130254bac6932131a55607c866773ca84 (diff) | |
download | tdevelop-539a1fd1ae6290cc3eec745226c0ce45b02c1545.tar.gz tdevelop-539a1fd1ae6290cc3eec745226c0ce45b02c1545.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/shared')
-rw-r--r-- | kdevdesigner/shared/domtool.cpp | 6 | ||||
-rw-r--r-- | kdevdesigner/shared/ui2uib.cpp | 8 | ||||
-rw-r--r-- | kdevdesigner/shared/widgetdatabase.cpp | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/kdevdesigner/shared/domtool.cpp b/kdevdesigner/shared/domtool.cpp index 4293224f..f8ed4ec5 100644 --- a/kdevdesigner/shared/domtool.cpp +++ b/kdevdesigner/shared/domtool.cpp @@ -404,9 +404,9 @@ void DomTool::fixDocument( TQDomDocument& doc ) bool stdset = toBool( e.attribute( "stdset" ) ); if ( stdset || name == "toolTip" || name == "whatsThis" || name == "buddy" || - e.tqparentNode().toElement().tagName() == "item" || - e.tqparentNode().toElement().tagName() == "spacer" || - e.tqparentNode().toElement().tagName() == "column" + e.parentNode().toElement().tagName() == "item" || + e.parentNode().toElement().tagName() == "spacer" || + e.parentNode().toElement().tagName() == "column" ) e.removeAttribute( "stdset" ); else 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(); diff --git a/kdevdesigner/shared/widgetdatabase.cpp b/kdevdesigner/shared/widgetdatabase.cpp index 88785cdc..1950ddbb 100644 --- a/kdevdesigner/shared/widgetdatabase.cpp +++ b/kdevdesigner/shared/widgetdatabase.cpp @@ -91,7 +91,7 @@ WidgetDatabaseRecord::~WidgetDatabaseRecord() one application doesn't make sense anyway and so you don't need more than an instance of the widgetdatabase. - For creating widgets, tqlayouts, etc. see WidgetFactory. + For creating widgets, layouts, etc. see WidgetFactory. */ /*! @@ -440,7 +440,7 @@ void WidgetDatabase::setupDataBase( int id ) r->name = "Spacer"; r->group = widgetGroup( "Temp" ); r->toolTip = "Spacer"; - r->whatsThis = "The Spacer provides horizontal and vertical spacing to be able to manipulate the behaviour of tqlayouts."; + r->whatsThis = "The Spacer provides horizontal and vertical spacing to be able to manipulate the behaviour of layouts."; append( r ); |