diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeui/kxmlguibuilder.cpp | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kxmlguibuilder.cpp')
-rw-r--r-- | kdeui/kxmlguibuilder.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kdeui/kxmlguibuilder.cpp b/kdeui/kxmlguibuilder.cpp index 305ce135c..f61aaaf2b 100644 --- a/kdeui/kxmlguibuilder.cpp +++ b/kdeui/kxmlguibuilder.cpp @@ -70,24 +70,24 @@ KXMLGUIBuilder::KXMLGUIBuilder( TQWidget *widget ) d = new KXMLGUIBuilderPrivate; d->m_widget = widget; - d->tagMainWindow = TQString::fromLatin1( "mainwindow" ); - d->tagMenuBar = TQString::fromLatin1( "menubar" ); - d->tagMenu = TQString::fromLatin1( "menu" ); - d->tagToolBar = TQString::fromLatin1( "toolbar" ); - d->tagStatusBar = TQString::fromLatin1( "statusbar" ); + d->tagMainWindow = TQString::tqfromLatin1( "mainwindow" ); + d->tagMenuBar = TQString::tqfromLatin1( "menubar" ); + d->tagMenu = TQString::tqfromLatin1( "menu" ); + d->tagToolBar = TQString::tqfromLatin1( "toolbar" ); + d->tagStatusBar = TQString::tqfromLatin1( "statusbar" ); - d->tagSeparator = TQString::fromLatin1( "separator" ); - d->tagTearOffHandle = TQString::fromLatin1( "tearoffhandle" ); - d->tagMenuTitle = TQString::fromLatin1( "title" ); + d->tagSeparator = TQString::tqfromLatin1( "separator" ); + d->tagTearOffHandle = TQString::tqfromLatin1( "tearoffhandle" ); + d->tagMenuTitle = TQString::tqfromLatin1( "title" ); - d->attrName = TQString::fromLatin1( "name" ); - d->attrLineSeparator = TQString::fromLatin1( "lineseparator" ); + d->attrName = TQString::tqfromLatin1( "name" ); + d->attrLineSeparator = TQString::tqfromLatin1( "lineseparator" ); - d->attrText1 = TQString::fromLatin1( "text" ); - d->attrText2 = TQString::fromLatin1( "Text" ); - d->attrContext = TQString::fromLatin1( "context" ); + d->attrText1 = TQString::tqfromLatin1( "text" ); + d->attrText2 = TQString::tqfromLatin1( "Text" ); + d->attrContext = TQString::tqfromLatin1( "context" ); - d->attrIcon = TQString::fromLatin1( "icon" ); + d->attrIcon = TQString::tqfromLatin1( "icon" ); d->m_instance = 0; d->m_client = 0; @@ -146,7 +146,7 @@ TQWidget *KXMLGUIBuilder::createContainer( TQWidget *parent, int index, const TQ // otherwise its shortcuts appear. TQWidget* p = parent; while ( p && !::qt_cast<KMainWindow *>( p ) ) - p = p->parentWidget(); + p = p->tqparentWidget(); TQCString name = element.attribute( d->attrName ).utf8(); @@ -332,7 +332,7 @@ int KXMLGUIBuilder::createCustomElement( TQWidget *parent, int index, const TQDo TQDomAttr attr = attributes.item( i ).toAttr(); if ( attr.name().lower() == d->attrLineSeparator && - attr.value().lower() == TQString::fromLatin1("false") ) + attr.value().lower() == TQString::tqfromLatin1("false") ) { isLineSep = false; break; |