diff options
Diffstat (limited to 'src/dolphiniconsview.cpp')
-rw-r--r-- | src/dolphiniconsview.cpp | 8 |
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 || |