Diffstat (limited to 'noncore/settings/sshkeys/sshkeys.h') (more/less context) (show 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 | |||
@@ -3,8 +3,7 @@ | |||
3 | #define SSHKEYSAPP_H | 3 | #define SSHKEYSAPP_H |
4 | 4 | ||
5 | #include "sshkeysbase.h" | 5 | #include "sshkeysbase.h" |
6 | 6 | #include <opie/oprocess.h> | |
7 | class OProcess; | ||
8 | 7 | ||
9 | class SSHKeysApp : public SSHKeysBase | 8 | class SSHKeysApp : public SSHKeysBase |
10 | { | 9 | { |
@@ -15,13 +14,22 @@ class SSHKeysApp : public SSHKeysBase | |||
15 | ~SSHKeysApp(); | 14 | ~SSHKeysApp(); |
16 | 15 | ||
17 | private: | 16 | private: |
18 | void sshadd(char **args); | 17 | void log_text(const char *text); |
18 | enum { Noise, KeyName, KeySize, KeyFingerprint } keystate; | ||
19 | QString incoming_keyname; | ||
20 | QString incoming_keysize; | ||
21 | QString incoming_keyfingerprint; | ||
22 | QString incoming_noise; | ||
23 | OProcess addprocess; | ||
19 | 24 | ||
20 | private slots: | 25 | private slots: |
21 | void doAddButton(); | 26 | void doAddButton(); |
22 | void doRefreshListButton(); | 27 | void doRefreshListButton(); |
23 | void doRemoveAllButton(); | 28 | void doRemoveAllButton(); |
24 | void get_list_keys_output(OProcess *proc, char *buffer, int buflen); | 29 | void get_list_keys_output(OProcess *proc, char *buffer, int buflen); |
30 | void log_sshadd_output(OProcess *proc, char *buffer, int buflen); | ||
31 | void ssh_add_exited(OProcess *proc); | ||
32 | void add_text_changed(const QString &text); | ||
25 | }; | 33 | }; |
26 | #endif | 34 | #endif |
27 | 35 | ||