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

tdeio/tdefile

  • tdeio
  • tdefile
tdefilesharedlg.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 TDEFILESHAREDLG_H
21#define TDEFILESHAREDLG_H
22
23#include <kpropertiesdialog.h>
24class TQVBoxLayout;
25class TQRadioButton;
26class TQPushButton;
27
33class TDEIO_EXPORT KFileSharePropsPlugin : public KPropsDlgPlugin
34{
35 TQ_OBJECT
36public:
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
51protected slots:
52 void slotConfigureFileSharing();
53 void slotConfigureFileSharingDone();
54
55private:
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
KFileSharePropsPlugin
This plugin provides a page to KPropsDlg, showing the "file sharing" options.
Definition: tdefilesharedlg.h:34
KPropertiesDialog
The main properties dialog class.
Definition: kpropertiesdialog.h:71
KPropsDlgPlugin
A Plugin in the Properties dialog This is an abstract class.
Definition: kpropertiesdialog.h:438
KPropsDlgPlugin::applyChanges
virtual void applyChanges()
Applies all changes to the file.
Definition: kpropertiesdialog.cpp:665

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
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdefile by doxygen 1.9.4
This website is maintained by Timothy Pearson.