author | dwmw2 <dwmw2> | 2002-09-20 12:59:59 (UTC) |
---|---|---|
committer | dwmw2 <dwmw2> | 2002-09-20 12:59:59 (UTC) |
commit | 6cbf7b19d7bb3fcd2471dbaa531a7b2ae05f0fcc (patch) (side-by-side diff) | |
tree | c135d91fbd04c19936a71010505777ef7b86ad96 /noncore/settings/sshkeys/sshkeys.h | |
parent | a05c10c9744020be31c3038b2de3401b5cc673fb (diff) | |
download | opie-6cbf7b19d7bb3fcd2471dbaa531a7b2ae05f0fcc.zip opie-6cbf7b19d7bb3fcd2471dbaa531a7b2ae05f0fcc.tar.gz opie-6cbf7b19d7bb3fcd2471dbaa531a7b2ae05f0fcc.tar.bz2 |
Works now
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 @@ -1,27 +1,35 @@ #ifndef SSHKEYSAPP_H #define SSHKEYSAPP_H #include "sshkeysbase.h" - -class OProcess; +#include <opie/oprocess.h> class SSHKeysApp : public SSHKeysBase { Q_OBJECT public: SSHKeysApp( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~SSHKeysApp(); 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: void doAddButton(); void doRefreshListButton(); 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 |