Diffstat (limited to 'noncore/settings/sshkeys/sshkeys.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sshkeys/sshkeys.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/noncore/settings/sshkeys/sshkeys.h b/noncore/settings/sshkeys/sshkeys.h index 4a9f2fe..9a39a2c 100644 --- a/noncore/settings/sshkeys/sshkeys.h +++ b/noncore/settings/sshkeys/sshkeys.h @@ -4,6 +4,5 @@ #include "sshkeysbase.h" - -class OProcess; +#include <opie/oprocess.h> class SSHKeysApp : public SSHKeysBase @@ -16,5 +15,11 @@ class SSHKeysApp : public SSHKeysBase private: - void sshadd(char **args); + void log_text(const char *text); + enum { Noise, KeyName, KeySize, KeyFingerprint } keystate; + QString incoming_keyname; + QString incoming_keysize; + QString incoming_keyfingerprint; + QString incoming_noise; + OProcess addprocess; private slots: @@ -23,4 +28,7 @@ class SSHKeysApp : public SSHKeysBase void doRemoveAllButton(); void get_list_keys_output(OProcess *proc, char *buffer, int buflen); + void log_sshadd_output(OProcess *proc, char *buffer, int buflen); + void ssh_add_exited(OProcess *proc); + void add_text_changed(const QString &text); }; #endif |