summaryrefslogtreecommitdiffstats
path: root/kstart
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
commit9a3f0aacd44fb866833ebcb852df3cd31475cb33 (patch)
tree9f699684624f4e78e13e7dd2393a103cc6fa8274 /kstart
parent341ad02235b9c85cd31782225181ed475b74eaa3 (diff)
downloadtdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.tar.gz
tdebase-9a3f0aacd44fb866833ebcb852df3cd31475cb33.zip
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
Diffstat (limited to 'kstart')
-rw-r--r--kstart/kstart.cpp6
1 files changed, 3 insertions, 3 deletions
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 );