author | llornkcor <llornkcor> | 2005-08-16 08:48:50 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2005-08-16 08:48:50 (UTC) |
commit | e49f60f79b86a6feb3cae4bc33c19123deec4eb3 (patch) (side-by-side diff) | |
tree | 0dbfa09072fcdd70f19a06ac93ad8f3f97b2978c /noncore/net/opie-smb/qsmb.h | |
parent | 373b2f0bdc2be62c6e275c74488a8921d03fc299 (diff) | |
download | opie-e49f60f79b86a6feb3cae4bc33c19123deec4eb3.zip opie-e49f60f79b86a6feb3cae4bc33c19123deec4eb3.tar.gz opie-e49f60f79b86a6feb3cae4bc33c19123deec4eb3.tar.bz2 |
remove last popen. add umount.
-rw-r--r-- | noncore/net/opie-smb/qsmb.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/noncore/net/opie-smb/qsmb.h b/noncore/net/opie-smb/qsmb.h index b406a1e..fba94d0 100644 --- a/noncore/net/opie-smb/qsmb.h +++ b/noncore/net/opie-smb/qsmb.h @@ -9,32 +9,34 @@ #include <qlistview.h> #include <pthread.h> class Qsmb : public FormQPESMBBase { - Q_OBJECT + Q_OBJECT public: - static QString appName() { return QString::fromLatin1("opie-smb"); } - Qsmb( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); - ~Qsmb(); - void scan(); - void DoIt(); + static QString appName() { return QString::fromLatin1("opie-smb"); } + Qsmb( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + ~Qsmb(); + void scan(); + void DoIt(); private: - QListViewItem *top_element; - QComboBox *hosts; - pthread_t tpid; - bool scanning; + QListViewItem *top_element; + QComboBox *hosts; + pthread_t tpid; + bool scanning; + bool isMounted(const QString &); public slots: void clear(); void scanClicked(); void hostSelected(int); void DoItClicked(); + void umountIt(); QString out; bool runCommand(const QStringList &); }; void* runit(void *arg); void* runitm(void *arg); |