summaryrefslogtreecommitdiffstats
path: root/ksirc/mditoplevel.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
commit937b2991d8e78166eea904c80ad04d34607017a4 (patch)
tree2accb8161eab09df5d7a5484ea9ea080ad123168 /ksirc/mditoplevel.cpp
parentdba26cb985af370c33d1767037851705cc561726 (diff)
downloadtdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz
tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/mditoplevel.cpp')
-rw-r--r--ksirc/mditoplevel.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ksirc/mditoplevel.cpp b/ksirc/mditoplevel.cpp
index 122a934a..ffe0bb4c 100644
--- a/ksirc/mditoplevel.cpp
+++ b/ksirc/mditoplevel.cpp
@@ -76,7 +76,7 @@ MDITopLevel::~MDITopLevel()
void MDITopLevel::addWidget( TQWidget *widget, bool show )
{
- if ( m_tabWidgets.tqcontainsRef( widget ) )
+ if ( m_tabWidgets.containsRef( widget ) )
return;
kdDebug(5008) << "In add widget" << endl;
@@ -121,7 +121,7 @@ void MDITopLevel::hideWidget( TQWidget *widget )
void MDITopLevel::showWidget( TQWidget *widget )
{
if(m_tab->indexOf(widget) == -1){
- int space = widget->caption().tqfind(" ");
+ int space = widget->caption().find(" ");
TQString cap = space < 1 ? widget->caption():widget->caption().left(space);
m_tab->addTab( widget, cap);
m_tab->showPage( widget );
@@ -180,7 +180,7 @@ bool MDITopLevel::eventFilter( TQObject *obj, TQEvent *ev )
TQWidget *widget = dynamic_cast<TQWidget *>( obj );
- if ( !widget || !m_tabWidgets.tqcontainsRef( widget ) )
+ if ( !widget || !m_tabWidgets.containsRef( widget ) )
return false;
if ( m_tab->currentPage() == widget )
@@ -214,7 +214,7 @@ void MDITopLevel::slotMarkPageDirty( bool addressed )
if ( window != m_tab->currentPage() )
{
- if ( m_addressed.tqcontainsRef( window ) )
+ if ( m_addressed.containsRef( window ) )
addressed = true;
else if ( addressed ) {
m_addressed.append( window );
@@ -231,7 +231,7 @@ void MDITopLevel::slotChangeChannelName( const TQString &, const TQString &chann
return;
TQString esc = channelName;
- esc.tqreplace("&", "&&");
+ esc.replace("&", "&&");
m_tab->setTabLabel( window, esc );
removeFromAddressedList( window );
}