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

KIO

  • sources
  • kde-4.12
  • kdelibs
  • 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 
28 class KFileWritePlugin;
29 class QVariant;
30 class PredicateProperties;
31 class KUrl;
32 
33 class KFileMetaInfoItemPrivate;
34 class KIO_EXPORT KFileMetaInfoItem {
35 friend class KFileMetaInfo;
36 friend class KFileMetaInfoPrivate;
37 friend class KMetaInfoWriter;
38 public:
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
95 
98  const QString& name() const;
105  QString suffix() const;
112  QString prefix() const;
113 private:
114  QSharedDataPointer<KFileMetaInfoItemPrivate> d;
115 
116  KFileMetaInfoItem(const QString& p,
117  const QVariant& v, KFileWritePlugin* w, bool e);
118 };
119 
120 #endif
QVariant
kio_export.h
PredicateProperties
A predicate is part of the RDF trinity: subject, predicate, object.
Definition: predicateproperties.h:36
KFileMetaInfoItem
Definition: kfilemetainfoitem.h:34
name
const char * name(StandardAction id)
QString
KFileMetaInfoItemPrivate
Definition: kfilemetainfoitem_p.h:40
KUrl
prefix
QString prefix()
KFileMetaInfo
KFileMetaInfo provides metadata extracted from a file or other resource.
Definition: kfilemetainfo.h:56
properties
KGuiItem properties()
KFileWritePlugin
Definition: kfilewriteplugin.h:28
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:02 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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