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

tdeio/tdeio

  • tdeio
  • tdeio
kautomount.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2000 David Faure <faure@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 
19 #ifndef __auto_mount_h__
20 #define __auto_mount_h__
21 
22 #include <tqobject.h>
23 #include <tqstring.h>
24 
25 #include <tdelibs_export.h>
26 
27 #ifdef Q_OS_UNIX
28 
29 namespace TDEIO {
30 class Job;
31 }
32 
41 class TDEIO_EXPORT KAutoMount : public TQObject
42 {
43  TQ_OBJECT
44  friend class gcc_gives_a_warning_without_this;
45 public:
57  KAutoMount( bool readonly, const TQString& format, const TQString& device, const TQString& mountpoint,
58  const TQString & desktopFile, bool show_filemanager_window = true );
59 
60 signals:
62  void finished();
64  void error();
65 
66 protected slots:
67  void slotResult( TDEIO::Job * );
68 
69 protected:
70  TQString m_strDevice;
71  bool m_bShowFilemanagerWindow;
72  TQString m_desktopFile;
73 private:
75  ~KAutoMount() {}
76  class KAutoMountPrivate* d;
77 };
78 
86 class TDEIO_EXPORT KAutoUnmount : public TQObject
87 {
88  TQ_OBJECT
89  friend class gcc_gives_a_warning_without_this;
90 public:
97  KAutoUnmount( const TQString & mountpoint, const TQString & desktopFile );
98 
99 signals:
101  void finished();
103  void error();
104 
105 protected slots:
106  void slotResult( TDEIO::Job * );
107 private:
108  TQString m_desktopFile;
109  TQString m_mountpoint;
110 private:
112  ~KAutoUnmount() {}
113  class KAutoUnmountPrivate* d;
114 };
115 
116 #endif //Q_OS_UNIX
117 
118 #endif
KAutoMount
This class implements synchronous mounting of devices, as well as showing a file-manager window after...
Definition: kautomount.h:42
KAutoMount::error
void error()
Emitted in case the directory could not been mounted.
KAutoMount::finished
void finished()
Emitted when the directory has been mounted.
KAutoUnmount
This class implements synchronous unmounting of devices, It is a wrapper around the asychronous TDEIO...
Definition: kautomount.h:87
KAutoUnmount::error
void error()
Emitted in case the directory could not been unmounted.
KAutoUnmount::finished
void finished()
Emitted when the directory has been unmounted.
TDEIO::Job
The base class for all jobs.
Definition: jobclasses.h:67
TDEIO
A namespace for TDEIO globals.
Definition: authinfo.h:29

tdeio/tdeio

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

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • 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/tdeio by doxygen 1.9.1
This website is maintained by Timothy Pearson.