Remove some unused functions

REVIEW: 116562
This commit is contained in:
Frank Reininghaus 2014-03-05 08:43:58 +01:00
parent b69649315d
commit e67793866d
3 changed files with 0 additions and 33 deletions

View file

@ -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) {

View file

@ -613,20 +613,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.

View file

@ -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),