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

KIO

kfilemetainfoitem.h

Go to the documentation of this file.
00001 /* This file is part of the KDE libraries
00002 
00003    Copyright (c) 2001,2002 Carsten Pfeiffer <pfeiffer@kde.org>
00004                  2007 Jos van den Oever <jos@vandenoever.info>
00005                  2010 Sebastian Trueg <trueg@kde.org>
00006 
00007    This library is free software; you can redistribute it and/or
00008    modify it under the terms of the GNU Library General Public
00009    License (LGPL) as published by the Free Software Foundation; either
00010    version 2 of the License, or (at your option) any later version.
00011 
00012    This library is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015    Library General Public License for more details.
00016 
00017    You should have received a copy of the GNU Library General Public License
00018    along with this library; see the file COPYING.LIB.  If not, write to
00019    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00020    Boston, MA 02110-1301, USA.
00021 */
00022 #ifndef KFILEMETAINFOITEM_H
00023 #define KFILEMETAINFOITEM_H
00024 
00025 #include <kio/kio_export.h>
00026 #include <QtCore/QSharedData>
00027 
00028 class KFileWritePlugin;
00029 class QVariant;
00030 class PredicateProperties;
00031 class KUrl;
00032 
00033 class KFileMetaInfoItemPrivate;
00034 class KIO_EXPORT KFileMetaInfoItem {
00035 friend class KFileMetaInfo;
00036 friend class KFileMetaInfoPrivate;
00037 friend class KMetaInfoWriter;
00038 public:
00042     KFileMetaInfoItem();
00046     KFileMetaInfoItem(const KFileMetaInfoItem& item);
00050     ~KFileMetaInfoItem();
00054     const KFileMetaInfoItem& operator=(const KFileMetaInfoItem& item);
00058     bool isEditable() const;
00062     bool isRemoved() const;
00066     bool isModified() const;
00070     bool isSkipped() const;
00074     const QVariant& value() const;
00078     bool setValue(const QVariant& value);
00082     bool addValue(const QVariant&);
00086     bool isValid() const;
00092 #ifndef KDE_NO_DEPRECATED
00093     KDE_DEPRECATED const PredicateProperties& properties() const;
00094 #endif
00095 
00098     const QString& name() const;
00105     QString suffix() const;
00112     QString prefix() const;
00113 private:
00114     QSharedDataPointer<KFileMetaInfoItemPrivate> d;
00115 
00116     KFileMetaInfoItem(const QString& p,
00117         const QVariant& v, KFileWritePlugin* w, bool e);
00118 };
00119 
00120 #endif

KIO

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • 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
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal