• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdefile
 

tdeio/tdefile

  • tdeio
  • tdefile
kacleditwidget.h
1 /***************************************************************************
2  * Copyright (C) 2005 by Sean Harmer <sh@rama.homelinux.org> *
3  * Till Adam <adam@kde.org> *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU Library General Public License as *
7  * published by the Free Software Foundation; either version 2 of the *
8  * License, or (at your option) any later version. *
9  * *
10  * This program 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 *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License *
16  * along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
19  ***************************************************************************/
20 #ifndef KACLEDITWIDGET_H
21 #define KACLEDITWIDGET_H
22 
23 #ifdef HAVE_CONFIG_H
24 #include <config.h>
25 #endif
26 
27 #ifdef Q_MOC_RUN
28 #define USE_POSIX_ACL
29 #endif // Q_MOC_RUN
30 
31 #ifdef USE_POSIX_ACL
32 
33 #include <tdelistview.h>
34 #include <kacl.h>
35 #include <tdefileitem.h>
36 
37 class KACLListViewItem;
38 class KACLListView;
39 class TQPushButton;
40 
41 class KACLEditWidget : TQWidget
42 {
43  Q_OBJECT
44 
45 public:
46  KACLEditWidget( TQWidget *parent = 0, const char *name = 0 );
47  KACL getACL() const;
48  KACL getDefaultACL() const;
49  void setACL( const KACL & );
50  void setDefaultACL( const KACL & );
51  void setAllowDefaults( bool value );
52  void setReadOnly( bool value );
53 private slots:
54  void slotUpdateButtons();
55 
56 private:
57  KACLListView* m_listView;
58  TQPushButton *m_AddBtn;
59  TQPushButton *m_EditBtn;
60  TQPushButton *m_DelBtn;
61 };
62 
63 
64 #endif
65 #endif

tdeio/tdefile

Skip menu "tdeio/tdefile"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeio/tdefile

Skip menu "tdeio/tdefile"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdefile by doxygen 1.8.8
This website is maintained by Timothy Pearson.