~ubuntu-branches/ubuntu/precise/kgpg/precise-updates

« back to all changes in this revision

Viewing changes to kgpgtextinterface.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-12-24 23:16:12 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: package-import@ubuntu.com-20111224231612-6w15s57d2106roq2
Tags: upstream-4.7.95
Import upstream version 4.7.95

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Copyright (C) 2002 Jean-Baptiste Mardelle <bj@altern.org>
3
 
 * Copyright (C) 2007,2008,2009,2010 Rolf Eike Beer <kde@opensource.sf-tec.de>
 
3
 * Copyright (C) 2007,2008,2009,2010,2011 Rolf Eike Beer <kde@opensource.sf-tec.de>
4
4
 */
5
5
 
6
6
/***************************************************************************
36
36
 
37
37
signals:
38
38
    /**
39
 
     *  emitted when a txt encryption finished. returns encrypted text
40
 
     */
41
 
    void txtEncryptionFinished(QString);
42
 
 
43
 
    /**
44
39
     *  emmitted if signature key is missing & user want to import it from keyserver
45
40
     */
46
41
    void verifyquerykey(QString ID);
73
68
 
74
69
public Q_SLOTS:
75
70
    /**
76
 
     * Encrypt text function
77
 
     * @param text text to be encrypted.
78
 
     * @param userids the recipients key id's.
79
 
     * @param options a list of string with the wanted gpg options, e.g. "--armor"
80
 
     */
81
 
    void encryptText(const QString &text, const QStringList &userids, const QStringList &options = QStringList());
82
 
 
83
 
    /**
84
71
     * Sign text function
85
72
     * @param text text to sign.
86
73
     * @param userid the recipient key id's.
120
107
    void KgpgVerifyFile(const KUrl &sigUrl, const KUrl &srcUrl = KUrl()) ;
121
108
 
122
109
private Q_SLOTS:
123
 
    void encryptTextProcess();
124
 
    void encryptTextFin();
125
 
 
126
110
    /**
127
111
     * Reads output of the current process + allow overwriting of a file
128
112
     */