summaryrefslogtreecommitdiffstats
path: root/src/editorproxy.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /src/editorproxy.cpp
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz
tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/editorproxy.cpp')
-rw-r--r--src/editorproxy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/editorproxy.cpp b/src/editorproxy.cpp
index 0cf0e3f1..345af582 100644
--- a/src/editorproxy.cpp
+++ b/src/editorproxy.cpp
@@ -163,9 +163,9 @@ void EditorProxy::popupAboutToShow()
for (int index=popup->count()-1; index >= 0; --index)
{
int id = popup->idAt(index);
- if (m_popupIds.tqcontains(id) == 0)
+ if (m_popupIds.contains(id) == 0)
{
- TQMenuItem *item = popup->tqfindItem(id);
+ TQMenuItem *item = popup->findItem(id);
if ( item && item->popup() )
delete item->popup();
else
@@ -182,7 +182,7 @@ void EditorProxy::popupAboutToShow()
TQString wordstr;
TQString selection = KDevEditorUtil::currentSelection( doc );
- if ( !selection.isEmpty() && selection.tqcontains('\n') != 0 )
+ if ( !selection.isEmpty() && selection.contains('\n') != 0 )
{
wordstr = selection;
}
@@ -201,7 +201,7 @@ void EditorProxy::popupAboutToShow()
for( uint i = 0; i < popup->count(); )
{
int id = popup->idAt( i );
- if( lastWasSeparator && popup->tqfindItem( id )->isSeparator() )
+ if( lastWasSeparator && popup->findItem( id )->isSeparator() )
{
popup->removeItem( id );
// Since we removed an item, don't increment i