• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

kget

  • sources
  • kde-4.12
  • kdenetwork
  • kget
  • ui
signaturedlg.h
Go to the documentation of this file.
1 /***************************************************************************
2 * Copyright (C) 2009 Matthias Fuchs <mat69@gmx.net> *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program; if not, write to the *
16 * Free Software Foundation, Inc., *
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
18 ***************************************************************************/
19 
20 #ifndef SIGNATUREDLG_H
21 #define SIGNATUREDLG_H
22 
23 #include "ui_signaturedlg.h"
24 #include "../core/basedialog.h"
25 
26 class FileModel;
27 class Signature;
28 class TransferHandler;
29 
30 class SignatureDlg : public KGetSaveSizeDialog
31 {
32  Q_OBJECT
33 
34  public:
35  SignatureDlg(TransferHandler *transfer, const KUrl &dest, QWidget *parent = 0, Qt::WFlags flags = 0);
36 
37  private slots:
38  void fileFinished(const KUrl &file);
39  void verifyClicked();
40  void updateData();
41  void updateButtons();
42  void textChanged();
43  void loadSignatureClicked();
44 
45  private:
46  void clearData();
47  void handleWidgets(bool isAsciiSig);
48 
49  private:
50  Ui::SignatureDlg ui;
51  Signature *m_signature;
52  FileModel *m_fileModel;
53  QModelIndex m_file;
54  static const QStringList OWNERTRUST;
55 };
56 
57 #endif
TransferHandler
Class TransferHandler:
Definition: transferhandler.h:48
QWidget
SignatureDlg
Definition: signaturedlg.h:30
FileModel
This model represents the files that are being downloaded.
Definition: filemodel.h:101
SignatureDlg::SignatureDlg
SignatureDlg(TransferHandler *transfer, const KUrl &dest, QWidget *parent=0, Qt::WFlags flags=0)
Definition: signaturedlg.cpp:39
KGetSaveSizeDialog
Subclass to make sure that the size of the dialog is automatically stored and restored.
Definition: basedialog.h:32
Signature
Class to verify signatures.
Definition: signature.h:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal