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

KIO

  • KDEPrivate
  • KFilePermissionsPropsPlugin
Public Types | Signals | Public Member Functions | Static Public Member Functions | List of all members
KDEPrivate::KFilePermissionsPropsPlugin Class Reference

#include <kpropertiesdialog_p.h>

Inheritance diagram for KDEPrivate::KFilePermissionsPropsPlugin:
KPropertiesDialogPlugin QObject

Public Types

enum  PermissionsMode { PermissionsOnlyFiles = 0 , PermissionsOnlyDirs = 1 , PermissionsOnlyLinks = 2 , PermissionsMixed = 3 }
 
enum  PermissionsTarget { PermissionsOwner = 0 , PermissionsGroup = 1 , PermissionsOthers = 2 }
 

Signals

void leaveModality ()
 
- Signals inherited from KPropertiesDialogPlugin
void changed ()
 

Public Member Functions

 KFilePermissionsPropsPlugin (KPropertiesDialog *_props)
 
virtual ~KFilePermissionsPropsPlugin ()
 
virtual void applyChanges ()
 
- Public Member Functions inherited from KPropertiesDialogPlugin
 KPropertiesDialogPlugin (KPropertiesDialog *_props)
 
virtual ~KPropertiesDialogPlugin ()
 
virtual void applyChanges ()
 
bool isDirty () const
 
void setDirty (bool b)
 

Static Public Member Functions

static bool supports (const KFileItemList &_items)
 
- Static Public Member Functions inherited from KPropertiesDialogPlugin
static bool isDesktopFile (const KFileItem &_item)
 

Additional Inherited Members

- Public Slots inherited from KPropertiesDialogPlugin
void setDirty ()
 
- Protected Member Functions inherited from KPropertiesDialogPlugin
int fontHeight () const
 
- Protected Attributes inherited from KPropertiesDialogPlugin
KPropertiesDialog * properties
 

Detailed Description

'Permissions' plugin In this plugin you can modify permissions and change the owner of a file.

Definition at line 109 of file kpropertiesdialog_p.h.

Member Enumeration Documentation

◆ PermissionsMode

enum KDEPrivate::KFilePermissionsPropsPlugin::PermissionsMode
Enumerator
PermissionsOnlyFiles 
PermissionsOnlyDirs 
PermissionsOnlyLinks 
PermissionsMixed 

Definition at line 113 of file kpropertiesdialog_p.h.

◆ PermissionsTarget

enum KDEPrivate::KFilePermissionsPropsPlugin::PermissionsTarget
Enumerator
PermissionsOwner 
PermissionsGroup 
PermissionsOthers 

Definition at line 120 of file kpropertiesdialog_p.h.

Constructor & Destructor Documentation

◆ KFilePermissionsPropsPlugin()

KFilePermissionsPropsPlugin::KFilePermissionsPropsPlugin ( KPropertiesDialog *  _props)

Constructor.

Definition at line 1574 of file kpropertiesdialog.cpp.

◆ ~KFilePermissionsPropsPlugin()

KFilePermissionsPropsPlugin::~KFilePermissionsPropsPlugin ( )
virtual

Definition at line 2187 of file kpropertiesdialog.cpp.

Member Function Documentation

◆ applyChanges()

void KFilePermissionsPropsPlugin::applyChanges ( )
virtual

Applies all changes to the file.

This function is called when the user presses 'Ok'. The last plugin inserted is called first.

Reimplemented from KPropertiesDialogPlugin.

Definition at line 2449 of file kpropertiesdialog.cpp.

◆ leaveModality

void KDEPrivate::KFilePermissionsPropsPlugin::leaveModality ( )
signal

◆ supports()

bool KFilePermissionsPropsPlugin::supports ( const KFileItemList &  _items)
static

Tests whether the file specified by _items needs a 'Permissions' plugin.

Definition at line 2192 of file kpropertiesdialog.cpp.


The documentation for this class was generated from the following files:
  • kpropertiesdialog_p.h
  • kpropertiesdialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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.14.38 API Reference

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