From 45bbcd5e5e963d029974e09fd66edc454e7e9dc4 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 20 Jul 2023 23:09:45 +0300 Subject: [PATCH] libs: remove unused KonqOperations slot and non-operational signal the signal is never emitted Signed-off-by: Ivailo Monev --- libs/konq/konq_operations.cpp | 5 ----- libs/konq/konq_operations.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/libs/konq/konq_operations.cpp b/libs/konq/konq_operations.cpp index a1feb265..12bef3f0 100644 --- a/libs/konq/konq_operations.cpp +++ b/libs/konq/konq_operations.cpp @@ -749,11 +749,6 @@ void KonqOperations::setOperation( KIO::Job * job, Operation method, const KUrl slotResult( 0L ); } -void KonqOperations::slotAboutToCreate(KIO::Job *, const QList &files) -{ - emit aboutToCreate( m_info ? m_info->mousePos : m_pasteInfo ? m_pasteInfo->mousePos : QPoint(), files); -} - void KonqOperations::statUrl( const KUrl & url, const QObject *receiver, const char *member, QWidget* parent ) { KonqOperations * op = new KonqOperations( parent ); diff --git a/libs/konq/konq_operations.h b/libs/konq/konq_operations.h index 5aa21e6b..f41f98fc 100644 --- a/libs/konq/konq_operations.h +++ b/libs/konq/konq_operations.h @@ -227,7 +227,6 @@ public: Q_SIGNALS: void statFinished( const KFileItem & item ); - void aboutToCreate(const QPoint &pos, const QList &files); void aboutToCreate(const KUrl::List &urls); void renamingFailed(const KUrl &oldUrl, const KUrl &newUrl); @@ -264,8 +263,6 @@ private: void setPasteInfo( KIOPasteInfo * info ) { m_pasteInfo = info; } protected Q_SLOTS: - - void slotAboutToCreate(KIO::Job *job, const QList &files); void slotResult( KJob * job ); void slotStatResult( KJob * job ); void asyncDrop( const KFileItem & item );