summaryrefslogtreecommitdiffstats
path: root/parts/bookmarks/bookmarks_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/bookmarks/bookmarks_part.cpp')
-rw-r--r--parts/bookmarks/bookmarks_part.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/parts/bookmarks/bookmarks_part.cpp b/parts/bookmarks/bookmarks_part.cpp
index 7646cc76..5edfa5a3 100644
--- a/parts/bookmarks/bookmarks_part.cpp
+++ b/parts/bookmarks/bookmarks_part.cpp
@@ -105,7 +105,7 @@ void BookmarksPart::partAdded( KParts::Part * part )
if ( setBookmarksForURL( ro_part ) )
{
updateContextStringForURL( ro_part );
- if ( EditorData * data = _editorMap.tqfind( ro_part->url().path() ) )
+ if ( EditorData * data = _editorMap.find( ro_part->url().path() ) )
{
_widget->updateURL( data );
}
@@ -143,7 +143,7 @@ void BookmarksPart::marksEvent()
TQObject * senderobj = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>( sender() ));
KParts::ReadOnlyPart * ro_part = dynamic_cast<KParts::ReadOnlyPart *>( senderobj );
- if ( partIsSane( ro_part ) && !_dirtyParts.tqcontains( ro_part ) )
+ if ( partIsSane( ro_part ) && !_dirtyParts.contains( ro_part ) )
{
_dirtyParts.push_back( ro_part );
_marksChangeTimer->start( 1000, true );
@@ -273,7 +273,7 @@ void BookmarksPart::removeBookmarkForURL( KURL const & url, int line )
{
//kdDebug(0) << "BookmarksPart::removeBookmarkForURL()" << endl;
- if ( EditorData * data = _editorMap.tqfind( url.path() ) )
+ if ( EditorData * data = _editorMap.find( url.path() ) )
{
TQValueListIterator< TQPair<int,TQString> > it = data->marks.begin();
while ( it != data->marks.end() )
@@ -305,7 +305,7 @@ void BookmarksPart::updateContextStringForURL( KParts::ReadOnlyPart * ro_part )
KTextEditor::EditInterface * ed =
dynamic_cast<KTextEditor::EditInterface *>( ro_part );
- EditorData * data = _editorMap.tqfind( ro_part->url().path() );
+ EditorData * data = _editorMap.find( ro_part->url().path() );
if ( ! ( data && ed ) ) return;
@@ -343,7 +343,7 @@ bool BookmarksPart::setBookmarksForURL( KParts::ReadOnlyPart * ro_part )
_settingMarks = true;
- if ( EditorData * data = _editorMap.tqfind( ro_part->url().path() ) )
+ if ( EditorData * data = _editorMap.find( ro_part->url().path() ) )
{
// we've seen this one before, apply stored bookmarks
@@ -479,7 +479,7 @@ KParts::ReadOnlyPart * BookmarksPart::partForURL( KURL const & url )
bool BookmarksPart::partIsSane( KParts::ReadOnlyPart * ro_part )
{
return ( ro_part != 0 ) &&
- partController()->parts()->tqcontains( ro_part) &&
+ partController()->parts()->contains( ro_part) &&
!ro_part->url().path().isEmpty();
}