• 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
chmodjob.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 /* This file is part of the KDE libraries
3  Copyright (C) 2000 David Faure <faure@kde.org>
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 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 
21 #ifndef KIO_CHMODJOB_H
22 #define KIO_CHMODJOB_H
23 
24 #include <kurl.h>
25 #include "global.h"
26 #include "job.h"
27 #include <kfileitem.h>
28 
29 #include <QtCore/QLinkedList>
30 
31 namespace KIO {
32 
33  class ChmodJobPrivate;
39  class KIO_EXPORT ChmodJob : public KIO::Job
40  {
41  Q_OBJECT
42  public:
43  virtual ~ChmodJob();
44 
45  protected Q_SLOTS:
46  virtual void slotResult( KJob *job );
47 
48  protected:
49  ChmodJob(ChmodJobPrivate &dd);
50 
51  private:
52  Q_PRIVATE_SLOT(d_func(), void _k_slotEntries( KIO::Job * , const KIO::UDSEntryList & ))
53  Q_PRIVATE_SLOT(d_func(), void _k_processList())
54  Q_DECLARE_PRIVATE(ChmodJob)
55  };
56 
57 
82  KIO_EXPORT ChmodJob * chmod( const KFileItemList& lstItems, int permissions, int mask,
83  const QString& newOwner, const QString& newGroup,
84  bool recursive, JobFlags flags = DefaultFlags );
85 
86 }
87 
88 #endif
kurl.h
global.h
KIO::DefaultFlags
Show the progress info GUI, no Resume and no Overwrite.
Definition: jobclasses.h:46
KIO::ChmodJob
This job changes permissions on a list of files or directories, optionally in a recursive manner...
Definition: chmodjob.h:39
KFileItemList
List of KFileItems, which adds a few helper methods to QList.
Definition: kfileitem.h:674
QString
QList< UDSEntry >
KIO::chmod
ChmodJob * chmod(const KFileItemList &lstItems, int permissions, int mask, const QString &newOwner, const QString &newGroup, bool recursive, JobFlags flags=DefaultFlags)
Creates a job that changes permissions/ownership on several files or directories, optionally recursiv...
Definition: chmodjob.cpp:268
job.h
KIO::Job
The base class for all jobs.
Definition: jobclasses.h:94
KJob
kfileitem.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:52 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