┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2014-03-05 08:43:58 +0100
committerFrank Reininghaus <[email protected]>2014-03-05 08:44:45 +0100
commit08b8d28154df302a1ed0e5b3abd54e823441b72c (patch)
tree7078b2690056646c9ac94d9906879b80b7da61f1 /src
parent80305554f4dc28003dab35a0687842f7bb03e9de (diff)
Remove some unused functions
REVIEW: 116562
Diffstat (limited to 'src')
-rw-r--r--src/views/dolphinview.cpp10
-rw-r--r--src/views/dolphinview.h14
-rw-r--r--src/views/renamedialog.cpp9
3 files changed, 0 insertions, 33 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index 9f5f48a86..21235e5e7 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -1354,16 +1354,6 @@ void DolphinView::calculateItemCount(int& fileCount,
}
}
-void DolphinView::showHoverInformation(const KFileItem& item)
-{
- emit requestItemInfo(item);
-}
-
-void DolphinView::clearHoverInformation()
-{
- emit requestItemInfo(KFileItem());
-}
-
void DolphinView::slotDeleteFileFinished(KJob* job)
{
if (job->error() == 0) {
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h
index 3731464a3..06c09edc3 100644
--- a/src/views/dolphinview.h
+++ b/src/views/dolphinview.h
@@ -614,20 +614,6 @@ private slots:
void updateSortFoldersFirst(bool foldersFirst);
/**
- * Updates the status bar to show hover information for the
- * item \a item. If currently other items are selected,
- * no hover information is shown.
- * @see DolphinView::clearHoverInformation()
- */
- void showHoverInformation(const KFileItem& item);
-
- /**
- * Clears the hover information shown in the status bar.
- * @see DolphinView::showHoverInformation().
- */
- void clearHoverInformation();
-
- /**
* Indicates in the status bar that the delete operation
* of the job \a job has been finished.
*/
diff --git a/src/views/renamedialog.cpp b/src/views/renamedialog.cpp
index d8dbd7749..5c0ae6126 100644
--- a/src/views/renamedialog.cpp
+++ b/src/views/renamedialog.cpp
@@ -30,15 +30,6 @@
#include <QLabel>
#include <QVBoxLayout>
-/**
- * Helper function for sorting items with qSort() in
- * DolphinView::renameSelectedItems().
- */
-bool lessThan(const KFileItem& item1, const KFileItem& item2)
-{
- return KStringHandler::naturalCompare(item1.name(), item2.name()) < 0;
-}
-
RenameDialog::RenameDialog(QWidget *parent, const KFileItemList& items) :
KDialog(parent),
m_renameOneItem(false),