• 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
predicateproperties.h
Go to the documentation of this file.
1 /* This file is part of the KDE libraries
2 
3  Copyright (c) 2007 Jos van den Oever <jos@vandenoever.info>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License (LGPL) as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 #ifndef PREDICATEPROPERTIES_H
21 #define PREDICATEPROPERTIES_H
22 
23 #include <kio/kio_export.h>
24 #include <QtCore/QSharedData>
25 #include <QtCore/QVariant>
26 class QValidator;
27 
36 class KIO_EXPORT PredicateProperties {
37 friend class PredicatePropertyProvider;
38 public:
39 #ifndef KDE_NO_DEPRECATED
40  KDE_DEPRECATED PredicateProperties(const QString& predicate = QString());
41 #endif
42  PredicateProperties(const PredicateProperties& p);
43  ~PredicateProperties();
44  const PredicateProperties& operator=(const PredicateProperties& p);
49  enum Attributes
50  {
51  Addable = 1,
52  Removable = 2,
53  Modifiable = 4,
54  Cumulative = 8,
57  Averaged = 16,
59  MultiLine = 32,
63  SqueezeText = 64
67  };
73  uint attributes() const;
77  const QString& key() const;
81  QVariant::Type type() const;
85  const QString& name() const;
89  const QString& description() const;
90  QValidator* createValidator() const;
91  const QStringList& suggestedValues() const;
92  uint minCardinality() const;
93  uint maxCardinality() const;
94  const PredicateProperties& parent() const;
99  const QString& unit() const;
100  bool isValid() const;
101 private:
102  class Private;
103  QSharedDataPointer<Private> d;
104 };
105 
106 #endif
kio_export.h
PredicateProperties
A predicate is part of the RDF trinity: subject, predicate, object.
Definition: predicateproperties.h:36
name
const char * name(StandardAction id)
QString
PredicateProperties::Attributes
Attributes
This enum is used to specify some attributes that an item can have, which fit neither in the Hint nor...
Definition: predicateproperties.h:49
QValidator
QStringList
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 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