diff options
| author | Dawit Alemayehu <[email protected]> | 2013-08-16 09:01:55 -0400 |
|---|---|---|
| committer | Dawit Alemayehu <[email protected]> | 2013-10-12 13:33:42 -0400 |
| commit | e3b840e4aa291e5b28be7db06b27a665d1d0b985 (patch) | |
| tree | 1a59e3b46e1fd8514fad12607d76be4181dea49d /src/dolphinpart.h | |
| parent | 2114210905970db6fb115cdc5710a7a71b5a669d (diff) | |
Moved all the extension code into dolphinpart_ext.*
REVIEW: 113132
Diffstat (limited to 'src/dolphinpart.h')
| -rw-r--r-- | src/dolphinpart.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/dolphinpart.h b/src/dolphinpart.h index c70bc5a8d..7146b46af 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -21,8 +21,6 @@ #define DOLPHINPART_H #include <kparts/part.h> -#include <kparts/browserextension.h> -#include <kparts/fileinfoextension.h> #include <QItemSelectionModel> @@ -252,41 +250,4 @@ private: Q_DISABLE_COPY(DolphinPart) }; -class DolphinPartBrowserExtension : public KParts::BrowserExtension -{ - Q_OBJECT -public: - DolphinPartBrowserExtension( DolphinPart* part ) - : KParts::BrowserExtension( part ), m_part(part) {} - - virtual void restoreState(QDataStream &stream); - virtual void saveState(QDataStream &stream); - -public Q_SLOTS: - void cut(); - void copy(); - void paste(); - void pasteTo(const KUrl&); - void reparseConfiguration(); - -private: - DolphinPart* m_part; -}; - - -class DolphinPartFileInfoExtension : public KParts::FileInfoExtension -{ - Q_OBJECT - -public: - DolphinPartFileInfoExtension(DolphinPart* part); - - virtual QueryModes supportedQueryModes() const; - virtual bool hasSelection() const; - - virtual KFileItemList queryFor(QueryMode mode) const; -protected: - DolphinPart* part() const; -}; - #endif /* DOLPHINPART_H */ |
