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
00055 signals:
00057
void finished();
00059
void error();
00060
00061
protected slots:
00062
void slotResult(
KIO::Job * );
00063
00064
protected:
00065
QString m_strDevice;
00066
bool m_bShowFilemanagerWindow;
00067
QString m_desktopFile;
00068
private:
00070 ~
KAutoMount() {}
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
00094 signals:
00096
void finished();
00098
void error();
00099
00100
protected slots:
00101
void slotResult(
KIO::Job * );
00102
private:
00103
QString m_desktopFile;
00104
QString m_mountpoint;
00105
private:
00107 ~
KAutoUnmount() {}
00108
class KAutoUnmountPrivate* d;
00109 };
00110
00111
#endif
This file is part of the documentation for kio Library Version 3.3.1.