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

kio/kio

kautomount.h

00001 /* This file is part of the KDE libraries
00002    Copyright (C) 2000 David Faure <faure@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License version 2 as published by the Free Software Foundation.
00007 
00008    This library is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    Library General Public License for more details.
00012 
00013    You should have received a copy of the GNU Library General Public License
00014    along with this library; see the file COPYING.LIB.  If not, write to
00015    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016    Boston, MA 02110-1301, USA.
00017 */
00018 
00019 #ifndef __auto_mount_h__
00020 #define __auto_mount_h__
00021 
00022 #include <qobject.h>
00023 #include <qstring.h>
00024 
00025 #include <kdelibs_export.h>
00026 
00027 #ifdef Q_OS_UNIX
00028 
00029 namespace KIO {
00030 class Job;
00031 }
00032 
00041 class KIO_EXPORT KAutoMount : public QObject
00042 {
00043   Q_OBJECT
00044   friend class gcc_gives_a_warning_without_this;
00045 public:
00057   KAutoMount( bool readonly, const QString& format, const QString& device, const QString& mountpoint,
00058               const QString & desktopFile, bool show_filemanager_window = true );
00059 
00060 signals:
00062   void finished();
00064   void error();
00065 
00066 protected slots:
00067   void slotResult( KIO::Job * );
00068 
00069 protected:
00070   QString m_strDevice;
00071   bool m_bShowFilemanagerWindow;
00072   QString m_desktopFile;
00073 private:
00075   ~KAutoMount() {}
00076   class KAutoMountPrivate* d;
00077 };
00078 
00086 class KIO_EXPORT KAutoUnmount : public QObject
00087 {
00088   Q_OBJECT
00089   friend class gcc_gives_a_warning_without_this;
00090 public:
00097   KAutoUnmount( const QString & mountpoint, const QString & desktopFile );
00098 
00099 signals:
00101   void finished();
00103   void error();
00104 
00105 protected slots:
00106   void slotResult( KIO::Job * );
00107 private:
00108   QString m_desktopFile;
00109   QString m_mountpoint;
00110 private:
00112   ~KAutoUnmount() {}
00113   class KAutoUnmountPrivate* d;
00114 };
00115 
00116 #endif //Q_OS_UNIX
00117 
00118 #endif

kio/kio

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

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • 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
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
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