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

libkonq

  • sources
  • kde-4.12
  • applications
  • kde-baseapps
  • lib
  • konq
konq_fileitemcapabilities.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.penz19@gmail.com>
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 KONQ_FILEITEMCAPABILITIES_H
24 #define KONQ_FILEITEMCAPABILITIES_H
25 
26 #include <libkonq_export.h>
27 
28 #include <QtCore/QSharedDataPointer>
29 
30 class KonqFileItemCapabilitiesPrivate;
31 class KFileItemList;
32 
45 class LIBKONQ_EXPORT KonqFileItemCapabilities
46 {
47 public:
51  KonqFileItemCapabilities();
58  KonqFileItemCapabilities(const KFileItemList& items);
62  KonqFileItemCapabilities(const KonqFileItemCapabilities&);
66  virtual ~KonqFileItemCapabilities();
70  KonqFileItemCapabilities& operator=(const KonqFileItemCapabilities& other);
74  void setItems(const KFileItemList& items);
75 
80  bool supportsReading() const;
85  bool supportsDeleting() const;
90  bool supportsWriting() const;
95  bool supportsMoving() const;
101  bool isLocal() const;
102 
103 private:
105  QSharedDataPointer<KonqFileItemCapabilitiesPrivate> d;
106 };
107 
108 #endif
KonqFileItemCapabilities
Provides information about the access capabilities of a group of KFileItem objects.
Definition: konq_fileitemcapabilities.h:45
libkonq_export.h
LIBKONQ_EXPORT
#define LIBKONQ_EXPORT
Definition: libkonq_export.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkonq

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

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Applications
  •   Libraries
  •     libkonq
  • Konsole

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