mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Remove some unused functions
REVIEW: 116562
This commit is contained in:
parent
b69649315d
commit
e67793866d
3 changed files with 0 additions and 33 deletions
|
@ -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) {
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue