• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KParts

  • kparts
listingextension.cpp
Go to the documentation of this file.
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
26KParts::ListingFilterExtension::ListingFilterExtension (KParts::ReadOnlyPart* parent)
27 : QObject(parent),
28 d(0)
29{
30}
31
32KParts::ListingFilterExtension::~ListingFilterExtension()
33{
34}
35
36KParts::ListingFilterExtension* KParts::ListingFilterExtension::childObject (QObject* obj)
37{
38 return KGlobal::findDirectChild<KParts::ListingFilterExtension*>(obj);
39}
40
41KParts::ListingFilterExtension::FilterModes KParts::ListingFilterExtension::supportedFilterModes() const
42{
43 return None;
44}
45
46bool KParts::ListingFilterExtension::supportsMultipleFilters (KParts::ListingFilterExtension::FilterMode) const
47{
48 return false;
49}
50
51
52KParts::ListingNotificationExtension::ListingNotificationExtension(KParts::ReadOnlyPart* parent)
53 :QObject(parent),
54 d(0)
55{
56}
57
58KParts::ListingNotificationExtension::~ListingNotificationExtension()
59{
60}
61
62KParts::ListingNotificationExtension* KParts::ListingNotificationExtension::childObject(QObject* obj)
63{
64 return KGlobal::findDirectChild<KParts::ListingNotificationExtension*>(obj);
65}
66
67KParts::ListingNotificationExtension::NotificationEventTypes KParts::ListingNotificationExtension::supportedNotificationEventTypes() const
68{
69 return None;
70}
KParts::ListingFilterExtension
an extension for filtering listings.
Definition: listingextension.h:85
KParts::ListingFilterExtension::FilterMode
FilterMode
Supported file filtering modes modes.
Definition: listingextension.h:92
KParts::ListingFilterExtension::supportsMultipleFilters
virtual bool supportsMultipleFilters(FilterMode mode) const
Returns true if the part that implements this extension allows the use of multiple filters for the gi...
Definition: listingextension.cpp:46
KParts::ListingFilterExtension::ListingFilterExtension
ListingFilterExtension(KParts::ReadOnlyPart *parent)
Definition: listingextension.cpp:26
KParts::ListingFilterExtension::childObject
static ListingFilterExtension * childObject(QObject *obj)
Queries obj for a child object which inherits from this class.
Definition: listingextension.cpp:36
KParts::ListingFilterExtension::supportedFilterModes
virtual FilterModes supportedFilterModes() const
Returns the OR'ed value of the file filter modes supported by the part that implements this extension...
Definition: listingextension.cpp:41
KParts::ListingFilterExtension::~ListingFilterExtension
virtual ~ListingFilterExtension()
Definition: listingextension.cpp:32
KParts::ListingNotificationExtension
an extension for receiving listing change notification.
Definition: listingextension.h:166
KParts::ListingNotificationExtension::supportedNotificationEventTypes
virtual NotificationEventTypes supportedNotificationEventTypes() const
Returns the OR'ed value of the notification types supported by the part that implements this extensio...
Definition: listingextension.cpp:67
KParts::ListingNotificationExtension::~ListingNotificationExtension
virtual ~ListingNotificationExtension()
Definition: listingextension.cpp:58
KParts::ListingNotificationExtension::childObject
static ListingNotificationExtension * childObject(QObject *obj)
Queries obj for a child object which inherits from this class.
Definition: listingextension.cpp:62
KParts::ListingNotificationExtension::ListingNotificationExtension
ListingNotificationExtension(KParts::ReadOnlyPart *parent)
Definition: listingextension.cpp:52
KParts::ReadOnlyPart
Base class for any "viewer" part.
Definition: part.h:489
QObject
kglobal.h
listingextension.h
None
None
part.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KParts

Skip menu "KParts"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal