tdeio/tdeio
knfsshare.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef knfsshare_h
00020 #define knfsshare_h
00021
00022 #include <tqobject.h>
00023
00024 #include <tdelibs_export.h>
00025
00026 class KNFSSharePrivate;
00027
00035 class TDEIO_EXPORT KNFSShare : public TQObject
00036 {
00037 Q_OBJECT
00038 public:
00042 static KNFSShare* instance();
00043
00049 bool isDirectoryShared( const TQString & path ) const;
00050
00056 TQStringList sharedDirectories() const;
00057
00063 virtual ~KNFSShare();
00064
00069 TQString exportsPath() const;
00070
00071 signals:
00075 void changed();
00076
00077 private:
00078 KNFSShare();
00079 static KNFSShare* _instance;
00080 KNFSSharePrivate* d;
00081
00082 private slots:
00083 void slotFileChange(const TQString&);
00084 };
00085
00086 #endif