You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdenetwork/kopete/plugins/cryptography/kgpgselkey.h

66 lines
1.8 KiB

//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 <kdialogbase.h>
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