summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/addbookmarks
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/addbookmarks')
-rw-r--r--kopete/plugins/addbookmarks/addbookmarksplugin.cpp2
-rw-r--r--kopete/plugins/addbookmarks/addbookmarkspreferences.cpp2
-rw-r--r--kopete/plugins/addbookmarks/addbookmarksprefssettings.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/kopete/plugins/addbookmarks/addbookmarksplugin.cpp b/kopete/plugins/addbookmarks/addbookmarksplugin.cpp
index b8f32bcf..149eab7a 100644
--- a/kopete/plugins/addbookmarks/addbookmarksplugin.cpp
+++ b/kopete/plugins/addbookmarks/addbookmarksplugin.cpp
@@ -176,7 +176,7 @@ TQTextCodec* BookmarksPlugin::getPageEncoding( const TQByteArray& data )
}
//kdDebug(14501) << temp.mid(pos, rx.matchedLength()) << endl;
temp = temp.mid(pos, rx.matchedLength()-1);
- temp = temp.mid( temp.tqfind("charset", 0, false)+7);
+ temp = temp.mid( temp.find("charset", 0, false)+7);
temp = temp.remove('=').simplifyWhiteSpace();
for( pos = 0 ; temp[pos].isLetterOrNumber() || temp[pos] == '-' ; pos++ );
temp = temp.left( pos );
diff --git a/kopete/plugins/addbookmarks/addbookmarkspreferences.cpp b/kopete/plugins/addbookmarks/addbookmarkspreferences.cpp
index 2c8f440f..5e1235f6 100644
--- a/kopete/plugins/addbookmarks/addbookmarkspreferences.cpp
+++ b/kopete/plugins/addbookmarks/addbookmarkspreferences.cpp
@@ -104,7 +104,7 @@ void BookmarksPreferences::load()
m_settings.isFolderForEachContact() == BookmarksPrefsSettings::UnselectedContacts );
list = m_settings.getContactsList();
for( it = list.begin() ; it != list.end() ; ++it){
- if ( ( item = p_dialog->contactList->tqfindItem(*it, TQt::ExactMatch ) ) ){
+ if ( ( item = p_dialog->contactList->findItem(*it, TQt::ExactMatch ) ) ){
p_dialog->contactList->setSelected( item, true );
}
}
diff --git a/kopete/plugins/addbookmarks/addbookmarksprefssettings.cpp b/kopete/plugins/addbookmarks/addbookmarksprefssettings.cpp
index 55a89d30..3fd4fb3c 100644
--- a/kopete/plugins/addbookmarks/addbookmarksprefssettings.cpp
+++ b/kopete/plugins/addbookmarks/addbookmarksprefssettings.cpp
@@ -71,9 +71,9 @@ bool BookmarksPrefsSettings::useSubfolderForContact( TQString nickname )
case Always:
return true;
case SelectedContacts:
- return ( m_contactslist.tqfind( nickname ) != m_contactslist.end() );
+ return ( m_contactslist.find( nickname ) != m_contactslist.end() );
case UnselectedContacts:
- return ( m_contactslist.tqfind( nickname ) == m_contactslist.end() );
+ return ( m_contactslist.find( nickname ) == m_contactslist.end() );
}
}
return false;