File: cdlgkeyinfo.h

package info (click to toggle)
gpgkeys 0.3.1-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 276 kB
  • ctags: 241
  • sloc: cpp: 2,007; makefile: 53
file content (50 lines) | stat: -rw-r--r-- 1,028 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 * GPG Keys 
 * cdlgkeyinfo.h
 * (c) 2001 Peter Mathiasson <peter@mathiasson.nu>
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2, as
 * published by the Free Software Foundation
 */

#ifndef __CDLGKEYINFO_H__
#define __CDLGKEYINFO_H__

#include "cdlgkeyinfoui.h"

class QProcess;
class QStatusBar;
class QString;
class CListViewItem;
class QPopupMenu;

class CDlgKeyInfo : public CDlgKeyInfoUI
{
    Q_OBJECT

public:
    CDlgKeyInfo( QWidget *parent, const QString tmpKeyId, const QString userId );
    void getKeyInfo();

public slots:
    void processDone();
    void readFromStdout();
    void contextMenuRequested( QListViewItem *tmpItem, const QPoint &pos, int );
    void lookupKey();
    void reReadInfo();

signals:
    void newPublic();

private:
    void readKeyInfo();
    QProcess *gpgProc;
    QString userId;
    QString keyId;
    CListViewItem *itemUid;
    QPopupMenu *popupMenu;

};

#endif // __CDLGKEYINFO_H__