summaryrefslogtreecommitdiffstats
path: root/src/dolphiniconsview.cpp
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
commit10b4cb5e889a28380c1cc4d5e4ebe01a835df6d9 (patch)
tree9abdedb1613b67baf902467e11607d95e5e86c6c /src/dolphiniconsview.cpp
parent7b65a26139363081928049b6613475488a057011 (diff)
downloaddolphin-10b4cb5e889a28380c1cc4d5e4ebe01a835df6d9.tar.gz
dolphin-10b4cb5e889a28380c1cc4d5e4ebe01a835df6d9.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/dolphiniconsview.cpp')
-rw-r--r--src/dolphiniconsview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp
index 436d3b6..5c6f87a 100644
--- a/src/dolphiniconsview.cpp
+++ b/src/dolphiniconsview.cpp
@@ -232,8 +232,8 @@ void DolphinIconsView::arrangeItemsInGrid( bool updated )
TQString mimetype;
while (item != 0) {
mimetype = item->fileInfo()->mimetype();
- const bool fixSize = mimetype.tqcontains("text") ||
- mimetype.tqcontains("application/x-");
+ const bool fixSize = mimetype.contains("text") ||
+ mimetype.contains("application/x-");
if (fixSize) {
item->setPixmapSize(TQSize(m_previewIconSize, m_previewIconSize));
}
@@ -360,7 +360,7 @@ void DolphinIconsView::contentsDragMoveEvent(TQDragMoveEvent* event)
// If a dragging is done above a directory, show the icon as 'active' for
// a visual feedback
- KFileIconViewItem* item = static_cast<KFileIconViewItem*>(tqfindItem(contentsToViewport(event->pos())));
+ KFileIconViewItem* item = static_cast<KFileIconViewItem*>(findItem(contentsToViewport(event->pos())));
bool showActive = false;
if (item != 0) {
@@ -387,7 +387,7 @@ void DolphinIconsView::contentsDropEvent(TQDropEvent* event)
return;
}
- KFileIconViewItem* item = static_cast<KFileIconViewItem*>(tqfindItem(contentsToViewport(event->pos())));
+ KFileIconViewItem* item = static_cast<KFileIconViewItem*>(findItem(contentsToViewport(event->pos())));
const bool accept = KURLDrag::canDecode(event) &&
(event->action() == TQDropEvent::Copy ||
event->action() == TQDropEvent::Move ||