diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 055401d5dbcb7a509b9d6a6414ba3fc55a23eb82 (patch) | |
tree | 00c2014321c12930c673079eb5d736c80a85be45 /src/kbfxbutton.cpp | |
parent | ba9755cbdc76d556757b1facb56e1c453f67025b (diff) | |
download | kbfx-055401d5dbcb7a509b9d6a6414ba3fc55a23eb82.tar.gz kbfx-055401d5dbcb7a509b9d6a6414ba3fc55a23eb82.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kbfxbutton.cpp')
-rw-r--r-- | src/kbfxbutton.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kbfxbutton.cpp b/src/kbfxbutton.cpp index 0fe018c..4815a6b 100644 --- a/src/kbfxbutton.cpp +++ b/src/kbfxbutton.cpp @@ -105,7 +105,7 @@ TQCString KbfxButton::findPanel() it != objects.end(); ++it) { - if ( (*it).tqcontains ( "Panel" ) > 0 ) + if ( (*it).contains ( "Panel" ) > 0 ) { DCOPRef _dcop_obj ( "kicker", (*it) ); TQStringList _dcop_obj_applets =_dcop_obj.call ( "listApplets()" ); @@ -114,7 +114,7 @@ TQCString KbfxButton::findPanel() _it != _dcop_obj_applets.end(); _it++ ) { - if ( ( *_it ).tqcontains ( "kbfx" ) ) + if ( ( *_it ).contains ( "kbfx" ) ) { m_AppletPanel = (*it); break; @@ -308,7 +308,7 @@ void KbfxButton::selfDeleter() for ( it = returnTQStringList.begin();it != returnTQStringList.end();it++ ) { - if ( ( *it ).tqcontains ( "kbfx" ) ) + if ( ( *it ).contains ( "kbfx" ) ) { break; } @@ -371,17 +371,17 @@ void KbfxButton::dropEvent ( TQDropEvent * e ) { _tmp = ( *it ); kdDebug() << "KBFX button dropped file: " << _tmp << endl; - if ( _tmp.tqcontains ( "hover", FALSE ) > 0 ) + if ( _tmp.contains ( "hover", FALSE ) > 0 ) { _hover = _tmp; _hover_pix = TQImage ( _tmp ); } - if ( _tmp.tqcontains ( "normal", FALSE ) > 0 ) + if ( _tmp.contains ( "normal", FALSE ) > 0 ) { _normal = _tmp; _normal_pix = TQImage ( _tmp ); } - if ( _tmp.tqcontains ( "pressed", FALSE ) > 0 ) + if ( _tmp.contains ( "pressed", FALSE ) > 0 ) { _pressed = _tmp; _pressed_pix = TQImage ( _tmp ); |