summaryrefslogtreecommitdiffstats
path: root/konq-plugins/kuick
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
commit627b091fad9df13695f249588e8a58f524eda0fa (patch)
tree98ff502a8743af48d8b88996e9a494fec4110586 /konq-plugins/kuick
parentf6e9c8d694be3d1df338b385125e13db41af0b1f (diff)
downloadtdeaddons-627b091fad9df13695f249588e8a58f524eda0fa.tar.gz
tdeaddons-627b091fad9df13695f249588e8a58f524eda0fa.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/kuick')
-rw-r--r--konq-plugins/kuick/kdirmenu.cpp4
-rw-r--r--konq-plugins/kuick/kmetamenu.cpp4
-rw-r--r--konq-plugins/kuick/kuick_plugin.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/konq-plugins/kuick/kdirmenu.cpp b/konq-plugins/kuick/kdirmenu.cpp
index 1174ee3..22d45b4 100644
--- a/konq-plugins/kuick/kdirmenu.cpp
+++ b/konq-plugins/kuick/kdirmenu.cpp
@@ -76,10 +76,10 @@ void KDirMenu::insert( KDirMenu *submenu, const TQString &_path ) {
KIcon::DefaultState, 0, true);
if(icon.isNull())
icon = CICON("folder");
- insertItem( icon, escapedPath.tqreplace( "&", "&&" ), submenu );
+ insertItem( icon, escapedPath.replace( "&", "&&" ), submenu );
}
else
- insertItem( folder, escapedPath.tqreplace( "&", "&&" ), submenu );
+ insertItem( folder, escapedPath.replace( "&", "&&" ), submenu );
tqchildren.append( submenu );
connect(submenu, TQT_SIGNAL(fileChosen(const TQString &)),
this, TQT_SLOT(slotFileSelected(const TQString &)));
diff --git a/konq-plugins/kuick/kmetamenu.cpp b/konq-plugins/kuick/kmetamenu.cpp
index 451f127..90682ac 100644
--- a/konq-plugins/kuick/kmetamenu.cpp
+++ b/konq-plugins/kuick/kmetamenu.cpp
@@ -85,7 +85,7 @@ KMetaMenu::KMetaMenu( TQWidget *tqparent, const KURL &url,
}
if ( url.isLocalFile()
- && dirList.tqfind( url.path() ) == dirList.end()
+ && dirList.find( url.path() ) == dirList.end()
&& TQFileInfo( url.path() ).isWritable()
&& TQFileInfo( url.path() ).isDir()
&& kapp->authorizeURLAction("list", url, url) )
@@ -133,7 +133,7 @@ KMetaMenu::KMetaMenu( TQWidget *tqparent, const KURL &url,
continue;
}
TQString escapedDir = *it;
- KAction *action = new KAction(escapedDir.tqreplace("&", "&&"), 0, TQT_TQOBJECT(this), TQT_SLOT(slotFastPath()), TQT_TQOBJECT(this));
+ KAction *action = new KAction(escapedDir.replace("&", "&&"), 0, TQT_TQOBJECT(this), TQT_SLOT(slotFastPath()), TQT_TQOBJECT(this));
action->plug(this );
actions.append( action );
++it;
diff --git a/konq-plugins/kuick/kuick_plugin.cpp b/konq-plugins/kuick/kuick_plugin.cpp
index 27152e7..9ea88a8 100644
--- a/konq-plugins/kuick/kuick_plugin.cpp
+++ b/konq-plugins/kuick/kuick_plugin.cpp
@@ -82,7 +82,7 @@ void KTestMenu::slotPrepareMenu( ) { // now it's time to set up the menu...
for(int i= popup->count(); i >=1; i--) {
int id = popup->idAt( i );
TQString text = popup->text( id );
- if( text.tqcontains("kuick_plugin") ) {
+ if( text.contains("kuick_plugin") ) {
popup->removeItem( id );
if (isKDesktop && !kapp->authorize("editable_desktop_icons"))
{