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 | 33f08e93132a53bf14f41f5f1e567eeea832b336 (patch) | |
tree | f71204bc1c7d41a0545805a1276c5af43e1c3094 /src/systemtray.cpp | |
parent | 14284db4dfa93999d6227344141e8663d9fcf7f9 (diff) | |
download | basket-33f08e93132a53bf14f41f5f1e567eeea832b336.tar.gz basket-33f08e93132a53bf14f41f5f1e567eeea832b336.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/systemtray.cpp')
-rw-r--r-- | src/systemtray.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/systemtray.cpp b/src/systemtray.cpp index ba1f17d..99a87fd 100644 --- a/src/systemtray.cpp +++ b/src/systemtray.cpp @@ -107,8 +107,8 @@ void KSystemTray2::displayCloseMessage(TQString fileMenu) // out of screen. if (useSystray) { TQRect deskRect(0, 0, desktopWidth, desktopHeight); - if ( !deskRect.tqcontains(g.x(), g.y()) || - !deskRect.tqcontains(g.x() + tw, g.y() + th) ) + if ( !deskRect.contains(g.x(), g.y()) || + !deskRect.contains(g.x() + tw, g.y() + th) ) useSystray = false; } @@ -297,7 +297,7 @@ void SystemTray::mouseReleaseEvent(TQMouseEvent *event) { m_canDrag = false; if (event->button() == Qt::LeftButton) // Show / hide main window - if ( TQT_TQRECT_OBJECT(rect()).tqcontains(event->pos()) ) { // Accept only if released in systemTray + if ( TQT_TQRECT_OBJECT(rect()).contains(event->pos()) ) { // Accept only if released in systemTray toggleActive(); emit showPart(); event->accept(); @@ -350,7 +350,7 @@ void SystemTray::dropEvent(TQDropEvent *event) /* * This function copies the entirety of src into dest, starting in - * dest at x and y. This function exists because I was unable to tqfind + * dest at x and y. This function exists because I was unable to find * a function like it in either TQImage or kdefx */ static bool copyImage(TQImage &dest, TQImage &src, int x, int y) |