summaryrefslogtreecommitdiff
path: root/noncore/net/opie-smb/qsmb.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opie-smb/qsmb.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opie-smb/qsmb.h22
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
@@ -12,26 +12,28 @@
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 &);