KParts

fileinfoextension.cpp
1 /*
2  This file is part of the KDE project
3  SPDX-FileCopyrightText: 2010 Dawit Alemayehu <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #include "fileinfoextension.h"
9 
10 #include "readonlypart.h"
11 
12 class KParts::FileInfoExtensionPrivate
13 {
14 };
15 
17  : QObject(parent)
18  , d(nullptr)
19 
20 {
21 }
22 
24 {
25 }
26 
28 {
30 }
31 
33 {
34  return None;
35 }
36 
38 {
39  return false;
40 }
FileInfoExtension(KParts::ReadOnlyPart *parent)
virtual bool hasSelection() const
Returns true if any of the items in the current view of the part that implements this extension are s...
FindDirectChildrenOnly
virtual QueryModes supportedQueryModes() const
Returns the file information retrieve modes supported by the part that implements this extension.
T findChild(const QString &name, Qt::FindChildOptions options) const const
static FileInfoExtension * childObject(QObject *obj)
Queries obj for a child object which inherits from this class.
Base class for any "viewer" part.
Definition: readonlypart.h:51
An extension for obtaining file information from the part.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 9 2022 03:51:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.