//Code from KGPG /*************************************************************************** listkeys.h - description ------------------- begin : Thu Jul 4 2002 copyright : (C) 2002 by y0k0 email : bj@altern.org ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef LISTKEYS_H #define LISTKEYS_H #include class TDEListView; class TQCheckBox; struct gpgKey { TQString gpgkeymail; TQString gpgkeyname; TQString gpgkeyid; TQString gpgkeytrust; TQString gpgkeyvalidity; TQString gpgkeysize; TQString gpgkeycreation; TQString gpgkeyexpiration; TQString gpgkeyalgo; }; class KgpgSelKey : public KDialogBase { Q_OBJECT public: KgpgSelKey( TQWidget *parent = 0, const char *name = 0,bool showlocal=true); TDEListView *keysListpr; TQPixmap keyPair; TQCheckBox *local; private slots: void slotOk(); void slotpreOk(); void slotSelect(TQListViewItem *item); TQString extractKeyName(TQString fullName); public: TQString getkeyID(); TQString getkeyMail(); bool getlocal(); }; #endif