diff options
Diffstat (limited to 'konq-plugins/arkplugin/arkplugin.cpp')
-rw-r--r-- | konq-plugins/arkplugin/arkplugin.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/konq-plugins/arkplugin/arkplugin.cpp b/konq-plugins/arkplugin/arkplugin.cpp index c1d18a1..6c49555 100644 --- a/konq-plugins/arkplugin/arkplugin.cpp +++ b/konq-plugins/arkplugin/arkplugin.cpp @@ -73,7 +73,7 @@ ArkMenu::ArkMenu( KonqPopupMenu * popupmenu, const char *name, const TQStringLis while ( ( item = it.current() ) != 0 ) { ++it; - if ( m_extractMimeTypes.tqcontains( item->mimetype() ) ) + if ( m_extractMimeTypes.contains( item->mimetype() ) ) { hasArchives = true; } @@ -442,7 +442,7 @@ void ArkMenu::stripExtension( TQString & name ) ext = (*it).remove( '*' ); if ( name.endsWith( ext ) ) { - name = name.left( name.tqfindRev( ext ) ) + '/'; + name = name.left( name.findRev( ext ) ) + '/'; break; } } @@ -456,13 +456,13 @@ void ArkMenu::slotCompressAs( int pos ) TQStringList filelist( m_urlStringList ); //if KMimeType returns .ZIP, .7Z or .RAR. convert them to lowercase - if ( m_extensionList[ pos ].tqcontains ( ".ZIP" ) ) + if ( m_extensionList[ pos ].contains ( ".ZIP" ) ) m_extensionList[ pos ] = ".zip"; - if ( m_extensionList[ pos ].tqcontains ( ".RAR" ) ) + if ( m_extensionList[ pos ].contains ( ".RAR" ) ) m_extensionList[ pos ] = ".rar"; - if ( m_extensionList[ pos ].tqcontains ( ".7Z" ) ) + if ( m_extensionList[ pos ].contains ( ".7Z" ) ) m_extensionList[ pos ] = ".7z"; if ( filelist.count() == 1) |