KIO
ksambashare.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef ksambashare_h
00020 #define ksambashare_h
00021
00022 #include <QtCore/QObject>
00023
00024 #include <kio/kio_export.h>
00025
00032 class KIO_EXPORT KSambaShare : public QObject
00033 {
00034 Q_OBJECT
00035 public:
00039 static KSambaShare* instance();
00040
00046 bool isDirectoryShared( const QString & path ) const;
00047
00053 QStringList sharedDirectories() const;
00054
00060 virtual ~KSambaShare();
00061
00066 QString smbConfPath() const;
00067
00068 Q_SIGNALS:
00072 void changed();
00073
00074 private:
00075 KSambaShare();
00076 class KSambaSharePrivate;
00077 KSambaSharePrivate * const d;
00078
00079 Q_PRIVATE_SLOT( d, void _k_slotFileChange(const QString&) )
00080 };
00081
00082 #endif