• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kio/kfile
 

kio/kfile

  • kio
  • kfile
kfilesharedlg.h
1 /* This file is part of the KDE project
2  Copyright (c) 2001 David Faure <david@mandrakesoft.com>
3  Copyright (c) 2001 Laurent Montel <lmontel@mandrakesoft.com>
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 version 2 as published by the Free Software Foundation.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef kfilesharedlg_h
21 #define kfilesharedlg_h
22 
23 #include <kpropertiesdialog.h>
24 class TQVBoxLayout;
25 class TQRadioButton;
26 class TQPushButton;
27 
33 class KIO_EXPORT KFileSharePropsPlugin : public KPropsDlgPlugin
34 {
35  Q_OBJECT
36 public:
37  KFileSharePropsPlugin( KPropertiesDialog *_props );
38  virtual ~KFileSharePropsPlugin();
39 
45  virtual void applyChanges();
46 
47  static bool supports( const KFileItemList& items );
48 
49  TQWidget* page() const;
50 
51 protected slots:
52  void slotConfigureFileSharing();
53  void slotConfigureFileSharingDone();
54 
55 private:
56  void init();
57  bool setShared( const TQString&path, bool shared );
58  bool SuSEsetShared( const TQString&path, bool shared, bool readonly );
59 
60  TQWidget *m_widget;
61  TQRadioButton *m_rbShare;
62  TQRadioButton *m_rbSharerw;
63  TQRadioButton *m_rbUnShare;
64  //TQLineEdit *m_leSmbShareName;
65  TQPushButton *m_pbConfig;
66  class Private;
67  Private *d;
68 };
69 
70 #endif

kio/kfile

Skip menu "kio/kfile"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kio/kfile

Skip menu "kio/kfile"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kio/kfile by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |