• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

kacleditwidget.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005 by Sean Harmer <sh@rama.homelinux.org>             *
00003  *                         Till Adam <adam@kde.org>                        *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU Library General Public License as       *
00007  *   published by  the Free Software Foundation; either version 2 of the   *
00008  *   License, or (at your option) any later version.                       *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.             *
00019  ***************************************************************************/
00020 #ifndef KACLEDITWIDGET_H
00021 #define KACLEDITWIDGET_H
00022 
00023 #ifdef HAVE_CONFIG_H
00024 #include <config.h>
00025 #endif
00026 
00027 #ifdef USE_POSIX_ACL
00028 
00029 #include <klistview.h>
00030 #include <kacl.h>
00031 #include <kfileitem.h>
00032 
00033 class KACLListViewItem;
00034 class KACLListView;
00035 class QPushButton;
00036 
00037 class KACLEditWidget : QWidget
00038 {
00039   Q_OBJECT
00040 public:
00041   KACLEditWidget( QWidget *parent = 0, const char *name = 0 );
00042   KACL getACL() const;
00043   KACL getDefaultACL() const;
00044   void setACL( const KACL & );
00045   void setDefaultACL( const KACL & );
00046   void setAllowDefaults( bool value );
00047   void setReadOnly( bool value );
00048 private slots:
00049   void slotUpdateButtons();
00050 
00051 private:
00052   KACLListView* m_listView;
00053   QPushButton *m_AddBtn;
00054   QPushButton *m_EditBtn;
00055   QPushButton *m_DelBtn;
00056 };
00057 
00058 
00059 #endif
00060 #endif

kio

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal