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

KIO

  • kio
  • kio
kfilemetainfoitem.h
Go to the documentation of this file.
1/* This file is part of the KDE libraries
2
3 Copyright (c) 2001,2002 Carsten Pfeiffer <pfeiffer@kde.org>
4 2007 Jos van den Oever <jos@vandenoever.info>
5 2010 Sebastian Trueg <trueg@kde.org>
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License (LGPL) as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
16
17 You should have received a copy of the GNU Library General Public License
18 along with this library; see the file COPYING.LIB. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA.
21*/
22#ifndef KFILEMETAINFOITEM_H
23#define KFILEMETAINFOITEM_H
24
25#include <kio/kio_export.h>
26#include <QtCore/QSharedData>
27
28class KFileWritePlugin;
29class QVariant;
30class PredicateProperties;
31class KUrl;
32
33class KFileMetaInfoItemPrivate;
34class KIO_EXPORT KFileMetaInfoItem {
35friend class KFileMetaInfo;
36friend class KFileMetaInfoPrivate;
37friend class KMetaInfoWriter;
38public:
42 KFileMetaInfoItem();
46 KFileMetaInfoItem(const KFileMetaInfoItem& item);
50 ~KFileMetaInfoItem();
54 const KFileMetaInfoItem& operator=(const KFileMetaInfoItem& item);
58 bool isEditable() const;
62 bool isRemoved() const;
66 bool isModified() const;
70 bool isSkipped() const;
74 const QVariant& value() const;
78 bool setValue(const QVariant& value);
82 bool addValue(const QVariant&);
86 bool isValid() const;
92#ifndef KDE_NO_DEPRECATED
93 KDE_DEPRECATED const PredicateProperties& properties() const;
94#endif
98 const QString& name() const;
105 QString suffix() const;
112 QString prefix() const;
113private:
114 QSharedDataPointer<KFileMetaInfoItemPrivate> d;
115
116 KFileMetaInfoItem(const QString& p,
117 const QVariant& v, KFileWritePlugin* w, bool e);
118};
119
120#endif
KFileMetaInfoItemPrivate
Definition: kfilemetainfoitem_p.h:40
KFileMetaInfoItem
Definition: kfilemetainfoitem.h:34
KFileMetaInfo
KFileMetaInfo provides metadata extracted from a file or other resource.
Definition: kfilemetainfo.h:56
KFileWritePlugin
Definition: kfilewriteplugin.h:28
KUrl
PredicateProperties
A predicate is part of the RDF trinity: subject, predicate, object.
Definition: predicateproperties.h:36
kio_export.h
prefix
QString prefix()
name
const char * name(StandardAction id)
properties
KGuiItem properties()
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.

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • 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