From 9a3f0aacd44fb866833ebcb852df3cd31475cb33 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kstart/kstart.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kstart') diff --git a/kstart/kstart.cpp b/kstart/kstart.cpp index d9b8b5e0b..410a1acb8 100644 --- a/kstart/kstart.cpp +++ b/kstart/kstart.cpp @@ -70,7 +70,7 @@ KStart::KStart() data.addPid( proc.pid() ); TQCString bin = proc.args().first(); data.setName( bin ); - data.setBin( bin.mid( bin.tqfindRev( '/' ) + 1 )); + data.setBin( bin.mid( bin.findRev( '/' ) + 1 )); KStartupInfo::sendChange( id, data ); } else @@ -88,7 +88,7 @@ void KStart::sendRule() { message += "wmclass=" + windowclass + "\nwmclassmatch=1\n" // 1 = exact match + "wmclasscomplete=" // if windowclass contains a space (i.e. 2 words, use whole WM_CLASS) - + ( windowclass.tqcontains( ' ' ) ? "true" : "false" ) + "\n"; + + ( windowclass.contains( ' ' ) ? "true" : "false" ) + "\n"; if( (windowtitle != 0) || (windowclass != 0) ) { // always ignore these window types message += "types=" + TQCString().setNum( -1U & @@ -153,7 +153,7 @@ void KStart::windowAdded(WId w){ XClassHint hint; if( !XGetClassHint( qt_xdisplay(), w, &hint )) return; - TQCString cls = windowclass.tqcontains( ' ' ) + TQCString cls = windowclass.contains( ' ' ) ? TQCString( hint.res_name ) + ' ' + hint.res_class : TQCString( hint.res_class ); cls = cls.lower(); XFree( hint.res_name ); -- cgit v1.2.3