File: cdlgserversearch.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 (53 lines) | stat: -rw-r--r-- 1,233 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
51
52
53
/*
 * GPG Keys 
 * cdlgkeyserver.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 __CDLGSERVERSEARCH_H__
#define __CDLGSERVERSEARCH_H__

#include <qstring.h>
#include "cdlgserversearchui.h"

class CKeyServer;
class CListViewItem;
class QListViewItem;
class QStatusBar;
class QPopupMenu;
class QProcess;

class CDlgServerSearch : public CDlgServerSearchUI
{
    Q_OBJECT

public:
    CDlgServerSearch( QWidget *parent, const QString searchString = QString::null );

public slots:
    void startSearch();
    void searchDone();
    void statusChange( int newStatus );
    void itemFound( QString type, QString name, QString date, QString keyID );
    void contextMenuRequested( QListViewItem *tmpItem, const QPoint &pos, int );
    void importKey();
    void doImport( QString key );

signals:
    void newPublic();

private:
    CKeyServer *keyServer;
    CListViewItem *itemPub;
    CListViewItem *importItem;
    QStatusBar *statusBar;
    QPopupMenu *popupMenu;
    QProcess *gpgProc;

};

#endif // __CDLGSERVERSEARCH_H__