X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/0ad893ae2b2bcc88c56587b57d227d65e593d2db..c8d8556950005dfd96ebdb41d2f43ad90356367c:/src/dolphinpart.h diff --git a/src/dolphinpart.h b/src/dolphinpart.h index b0b01d8d8..92ee71d2c 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -118,7 +118,6 @@ Q_SIGNALS: private Q_SLOTS: void slotCompleted(const KUrl& url); - void slotCanceled(const KUrl& url); void slotMessage(const QString& msg); void slotErrorMessage(const QString& msg); /** @@ -129,20 +128,22 @@ private Q_SLOTS: /** * Handles clicking on an item */ - void slotItemTriggered(const KFileItem& item); + void slotItemActivated(const KFileItem& item); /** * Creates a new window showing the content of \a url. */ void createNewWindow(const KUrl& url); /** * Opens the context menu on the current mouse position. + * @pos Position in screen coordinates. * @item File item context. If item is null, the context menu * should be applied to \a url. * @url URL which contains \a item. * @customActions Actions that should be added to the context menu, * if the file item is null. */ - void slotOpenContextMenu(const KFileItem& item, + void slotOpenContextMenu(const QPoint& pos, + const KFileItem& item, const KUrl& url, const QList& customActions); @@ -193,6 +194,11 @@ private Q_SLOTS: */ void slotOpenTerminal(); + /** + * Open KFind with the current path. + */ + void slotFindFile(); + /** * Updates the 'Create New...' sub menu, just before it's shown. */ @@ -225,17 +231,12 @@ private: QActionGroup* actionGroup); void openSelectionDialog(const QString& title, const QString& text, - QItemSelectionModel::SelectionFlags command); - - QItemSelection childrenMatchingPattern(const QModelIndex& parent, const QRegExp& patternRegExp); + bool selectItems); private: DolphinView* m_view; DolphinViewActionHandler* m_actionHandler; DolphinRemoteEncoding* m_remoteEncoding; - KDirLister* m_dirLister; - DolphinModel* m_dolphinModel; - DolphinSortFilterProxyModel* m_proxyModel; DolphinPartBrowserExtension* m_extension; KNewFileMenu* m_newFileMenu; QString m_nameFilter;