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

KIO

  • sources
  • kde-4.14
  • kdelibs
  • kio
  • kio
kfileitemlistproperties.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2008 by Peter Penz <peter.penz@gmx.at>
3  Copyright (C) 2008 by George Goldberg <grundleborg@googlemail.com>
4  Copyright 2009 David Faure <faure@kde.org>
5 
6  This library is free software; you can redistribute it and/or modify
7  it under the terms of the GNU Library General Public License as published
8  by the Free Software Foundation; either version 2 of the License or
9  ( at your option ) version 3 or, at the discretion of KDE e.V.
10  ( which shall act as a proxy as in section 14 of the GPLv3 ), 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 
23 #ifndef KFILEITEMLISTPROPERTIES_H
24 #define KFILEITEMLISTPROPERTIES_H
25 
26 #include <kio/kio_export.h>
27 
28 #include <kurl.h>
29 #include <QtCore/QSharedDataPointer>
30 
31 class KFileItemListPropertiesPrivate;
32 class KFileItemList;
33 
49 class KIO_EXPORT KFileItemListProperties
50 {
51 public:
55  KFileItemListProperties();
62  KFileItemListProperties(const KFileItemList& items);
66  KFileItemListProperties(const KFileItemListProperties&);
70  virtual ~KFileItemListProperties();
74  KFileItemListProperties& operator=(const KFileItemListProperties& other);
78  void setItems(const KFileItemList& items);
79 
84  bool supportsReading() const;
89  bool supportsDeleting() const;
95  bool supportsWriting() const;
100  bool supportsMoving() const;
106  bool isLocal() const;
107 
111  KFileItemList items() const;
112 
116  KUrl::List urlList() const;
117 
121  bool isDirectory() const;
122 
126  QString mimeType() const;
127 
131  QString mimeGroup() const;
132 
133 private:
135  QSharedDataPointer<KFileItemListPropertiesPrivate> d;
136 };
137 
138 #endif /* KFILEITEMLISTPROPERTIES_H */
139 
kio_export.h
kurl.h
KFileItemList
List of KFileItems, which adds a few helper methods to QList.
Definition: kfileitem.h:674
QString
KFileItemListProperties
Provides information about the common properties of a group of KFileItem objects. ...
Definition: kfileitemlistproperties.h:49
KUrl::List
QSharedDataPointer< KFileItemListPropertiesPrivate >
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • 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