diff options
| author | Dawit Alemayehu <[email protected]> | 2012-09-11 16:40:32 -0400 |
|---|---|---|
| committer | Dawit Alemayehu <[email protected]> | 2012-09-11 16:57:18 -0400 |
| commit | 7bccdf85f792ede6a66f7001f60278091b0df87b (patch) | |
| tree | 4669984b3c4bfaddb3da54d95183a0f7713447a2 /src/dolphinpart.h | |
| parent | 5fbc0101790adf5613e8c686a38bf9d831881a6d (diff) | |
Fix compile against the minimum required kdelibs version (v4.7.97)
Diffstat (limited to 'src/dolphinpart.h')
| -rw-r--r-- | src/dolphinpart.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dolphinpart.h b/src/dolphinpart.h index 6cf9fe324..0895686b8 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -20,10 +20,15 @@ #ifndef DOLPHINPART_H #define DOLPHINPART_H +#include <kdeversion.h> + #include <kparts/part.h> #include <kparts/browserextension.h> #include <kparts/fileinfoextension.h> + +#if KDE_IS_VERSION(4, 9, 2) #include <kparts/listingextension.h> +#endif #include <QItemSelectionModel> @@ -282,6 +287,7 @@ protected: DolphinPart* part() const; }; +#if KDE_IS_VERSION(4, 9, 2) class DolphinPartListingFilterExtension : public KParts::ListingFilterExtension { Q_OBJECT @@ -309,5 +315,6 @@ public Q_SLOTS: void slotNewItems(const KFileItemList&); void slotItemsDeleted(const KFileItemList&); }; +#endif #endif /* DOLPHINPART_H */ |
