Changeset View
Changeset View
Standalone View
Standalone View
plugins/sftp/mounter.h
Show All 40 Lines | 35 | public: | |||
---|---|---|---|---|---|
41 | bool isMounted() const { return m_started; } | 41 | bool isMounted() const { return m_started; } | ||
42 | 42 | | |||
43 | Q_SIGNALS: | 43 | Q_SIGNALS: | ||
44 | void mounted(); | 44 | void mounted(); | ||
45 | void unmounted(); | 45 | void unmounted(); | ||
46 | void failed(const QString& message); | 46 | void failed(const QString& message); | ||
47 | 47 | | |||
48 | private Q_SLOTS: | 48 | private Q_SLOTS: | ||
49 | void onPakcageReceived(const NetworkPackage& np); | 49 | void onPakcageReceived(const NetworkPacket& np); | ||
50 | void onStarted(); | 50 | void onStarted(); | ||
51 | void onError(QProcess::ProcessError error); | 51 | void onError(QProcess::ProcessError error); | ||
52 | void onFinished(int exitCode, QProcess::ExitStatus exitStatus); | 52 | void onFinished(int exitCode, QProcess::ExitStatus exitStatus); | ||
53 | void onMountTimeout(); | 53 | void onMountTimeout(); | ||
54 | void start(); | 54 | void start(); | ||
55 | 55 | | |||
56 | private: | 56 | private: | ||
57 | void unmount(bool finished); | 57 | void unmount(bool finished); | ||
Show All 11 Lines |