summaryrefslogtreecommitdiffstats
path: root/kdeui/kxmlguifactory_p.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
commit374d939d8af431477ce2601815f0ba121b66871c (patch)
treead878478dcc0bedf51e3cffb2ed611ada422b290 /kdeui/kxmlguifactory_p.cpp
parentf9279733bf71e446933b46f40cbe9c9b9f57b778 (diff)
downloadtdelibs-374d939d8af431477ce2601815f0ba121b66871c.tar.gz
tdelibs-374d939d8af431477ce2601815f0ba121b66871c.zip
Allow kdelibs to function correctly with TQt for Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kxmlguifactory_p.cpp')
-rw-r--r--kdeui/kxmlguifactory_p.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdeui/kxmlguifactory_p.cpp b/kdeui/kxmlguifactory_p.cpp
index f7955f471..a5ce2b4ef 100644
--- a/kdeui/kxmlguifactory_p.cpp
+++ b/kdeui/kxmlguifactory_p.cpp
@@ -85,7 +85,7 @@ MergingIndexList::Iterator ContainerNode::findIndex( const TQString &name )
/*
* Check if the given container widget is a child of this node and return the node structure
- * if fonud.
+ * if found.
*/
ContainerNode *ContainerNode::findContainerNode( TQWidget *container )
{
@@ -238,7 +238,7 @@ void ContainerNode::plugActionList( BuildState &state, const MergingIndexList::I
return;
ContainerClient *client = findChildContainerClient( state.guiClient,
- TQString::null,
+ TQString(),
mergingIndices.end() );
client->actionLists.insert( k, state.actionList );
@@ -280,7 +280,7 @@ void ContainerNode::unplugActionList( BuildState &state, const MergingIndexList:
return;
ContainerClient *client = findChildContainerClient( state.guiClient,
- TQString::null,
+ TQString(),
mergingIndices.end() );
ActionListMap::Iterator lIt( client->actionLists.tqfind( k ) );
@@ -539,7 +539,7 @@ BuildHelper::BuildHelper( BuildState &state, ContainerNode *node )
}
m_state.currentDefaultMergingIt = parentNode->findIndex( defaultMergingName );
- parentNode->calcMergingIndex( TQString::null, m_state.currentClientMergingIt,
+ parentNode->calcMergingIndex( TQString(), m_state.currentClientMergingIt,
m_state, /*ignoreDefaultMergingIndex*/ false );
}
@@ -727,7 +727,7 @@ void BuildHelper::processMergeElement( const TQString &tag, const TQString &name
// re-calculate the running default and client merging indices.
m_state.currentDefaultMergingIt = parentNode->findIndex( defaultMergingName );
- parentNode->calcMergingIndex( TQString::null, m_state.currentClientMergingIt,
+ parentNode->calcMergingIndex( TQString(), m_state.currentClientMergingIt,
m_state, ignoreDefaultMergingIndex );
}
@@ -784,7 +784,7 @@ void BuildHelper::processContainerElement( const TQDomElement &e, const TQString
// and re-calculate running values, for better performance
m_state.currentDefaultMergingIt = parentNode->findIndex( defaultMergingName );
- parentNode->calcMergingIndex( TQString::null, m_state.currentClientMergingIt,
+ parentNode->calcMergingIndex( TQString(), m_state.currentClientMergingIt,
m_state, ignoreDefaultMergingIndex );
}
@@ -823,8 +823,8 @@ TQWidget *BuildHelper::createContainer( TQWidget *parent, int index,
void BuildState::reset()
{
- clientName = TQString::null;
- actionListName = TQString::null;
+ clientName = TQString();
+ actionListName = TQString();
actionList.clear();
guiClient = 0;
clientBuilder = 0;