kautomount.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __auto_mount_h__
00019 #define __auto_mount_h__
00020
00021 #include <qobject.h>
00022 #include <qstring.h>
00023
00024 namespace KIO {
00025 class Job;
00026 }
00027
00036 class KAutoMount : public QObject
00037 {
00038 Q_OBJECT
00039 friend class gcc_gives_a_warning_without_this;
00040 public:
00052 KAutoMount( bool readonly, const QString& format, const QString& device, const QString& mountpoint,
00053 const QString & desktopFile, bool show_filemanager_window = true );
00054 ~KAutoMount() {}
00055
00056 signals:
00058 void finished();
00060 void error();
00061
00062 protected slots:
00063 void slotResult( KIO::Job * );
00064
00065 protected:
00066 QString m_strDevice;
00067 bool m_bShowFilemanagerWindow;
00068 QString m_desktopFile;
00069 private:
00071 class KAutoMountPrivate* d;
00072 };
00073
00081 class KAutoUnmount : public QObject
00082 {
00083 Q_OBJECT
00084 friend class gcc_gives_a_warning_without_this;
00085 public:
00092 KAutoUnmount( const QString & mountpoint, const QString & desktopFile );
00093 ~KAutoUnmount() {}
00094
00095 signals:
00097 void finished();
00099 void error();
00100
00101 protected slots:
00102 void slotResult( KIO::Job * );
00103 private:
00104 QString m_desktopFile;
00105 QString m_mountpoint;
00106 private:
00108 class KAutoUnmountPrivate* d;
00109 };
00110
00111 #endif
This file is part of the documentation for kdelibs Version 3.1.4.