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

KIO

kfileitemlistproperties.h
Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002    Copyright (C) 2008 by Peter Penz <peter.penz@gmx.at>
00003    Copyright (C) 2008 by George Goldberg <grundleborg@googlemail.com>
00004    Copyright     2009 David Faure <faure@kde.org>
00005 
00006    This library is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU Library General Public License as published
00008    by the Free Software Foundation; either version 2 of the License or
00009    ( at your option ) version 3 or, at the discretion of KDE e.V.
00010    ( which shall act as a proxy as in section 14 of the GPLv3 ), 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 
00023 #ifndef KFILEITEMLISTPROPERTIES_H
00024 #define KFILEITEMLISTPROPERTIES_H
00025 
00026 #include <kio/kio_export.h>
00027 
00028 #include <kurl.h>
00029 #include <QtCore/QSharedDataPointer>
00030 
00031 class KFileItemListPropertiesPrivate;
00032 class KFileItemList;
00033 
00049 class KIO_EXPORT KFileItemListProperties
00050 {
00051 public:
00055     KFileItemListProperties();
00062     KFileItemListProperties(const KFileItemList& items);
00066     KFileItemListProperties(const KFileItemListProperties&);
00070     virtual ~KFileItemListProperties();
00074     KFileItemListProperties& operator=(const KFileItemListProperties& other);
00078     void setItems(const KFileItemList& items);
00079 
00084     bool supportsReading() const;
00089     bool supportsDeleting() const;
00095     bool supportsWriting() const;
00100     bool supportsMoving() const;
00106     bool isLocal() const;
00107 
00111     KFileItemList items() const;
00112 
00116     KUrl::List urlList() const;
00117 
00121     bool isDirectory() const;
00122 
00126     QString mimeType() const;
00127 
00131     QString mimeGroup() const;
00132 
00133 private:
00135     QSharedDataPointer<KFileItemListPropertiesPrivate> d;
00136 };
00137 
00138 #endif /* KFILEITEMLISTPROPERTIES_H */
00139 
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 20:55:21 by doxygen 1.8.0 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.8.3 API Reference

Skip menu "kdelibs-4.8.3 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