1 | /* This file is part of the KDE project |
2 | Copyright (C) 2012 Dawit Alemayehu <adawit@kde.org> |
3 | |
4 | This library is free software; you can redistribute it and/or |
5 | modify it under the terms of the GNU Library General Public |
6 | License as published by the Free Software Foundation; either |
7 | version 2 of the License, or (at your option) any later version. |
8 | |
9 | This library is distributed in the hope that it will be useful, |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | Library General Public License for more details. |
13 | |
14 | You should have received a copy of the GNU Library General Public License |
15 | along with this library; see the file COPYING.LIB. If not, write to |
16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
17 | Boston, MA 02110-1301, USA. |
18 | */ |
19 | |
20 | #include "listingextension.h" |
21 | |
22 | #include "part.h" |
23 | #include "kglobal.h" |
24 | |
25 | |
26 | KParts::ListingFilterExtension::ListingFilterExtension (KParts::ReadOnlyPart* parent) |
27 | : QObject(parent), |
28 | d(0) |
29 | { |
30 | } |
31 | |
32 | KParts::ListingFilterExtension::~ListingFilterExtension() |
33 | { |
34 | } |
35 | |
36 | KParts::ListingFilterExtension* KParts::ListingFilterExtension::childObject (QObject* obj) |
37 | { |
38 | return KGlobal::findDirectChild<KParts::ListingFilterExtension*>(obj); |
39 | } |
40 | |
41 | KParts::ListingFilterExtension::FilterModes KParts::ListingFilterExtension::supportedFilterModes() const |
42 | { |
43 | return None; |
44 | } |
45 | |
46 | bool KParts::ListingFilterExtension::supportsMultipleFilters (KParts::ListingFilterExtension::FilterMode) const |
47 | { |
48 | return false; |
49 | } |
50 | |
51 | |
52 | KParts::ListingNotificationExtension::ListingNotificationExtension(KParts::ReadOnlyPart* parent) |
53 | :QObject(parent), |
54 | d(0) |
55 | { |
56 | } |
57 | |
58 | KParts::ListingNotificationExtension::~ListingNotificationExtension() |
59 | { |
60 | } |
61 | |
62 | KParts::ListingNotificationExtension* KParts::ListingNotificationExtension::childObject(QObject* obj) |
63 | { |
64 | return KGlobal::findDirectChild<KParts::ListingNotificationExtension*>(obj); |
65 | } |
66 | |
67 | KParts::ListingNotificationExtension::NotificationEventTypes KParts::ListingNotificationExtension::supportedNotificationEventTypes() const |
68 | { |
69 | return None; |
70 | } |
71 | |