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

kleopatra

  • Kleo
  • Dialogs
  • CertifyCertificateDialogPrivate
  • OptionsPage
Signals | Public Member Functions | List of all members
Kleo::Dialogs::CertifyCertificateDialogPrivate::OptionsPage Class Reference

#include <certifycertificatedialog_p.h>

Inheritance diagram for Kleo::Dialogs::CertifyCertificateDialogPrivate::OptionsPage:
Inheritance graph
[legend]

Signals

void nextClicked ()
 
- Signals inherited from QWizardPage
void completeChanged ()
 

Public Member Functions

 OptionsPage (QWidget *parent=0)
 
bool exportableCertificationSelected () const
 
bool isComplete () const
 
GpgME::Key selectedSecretKey () const
 
bool sendToServer () const
 
void setCertificatesWithSecretKeys (const std::vector< GpgME::Key > &keys)
 
bool validatePage ()
 
- Public Member Functions inherited from QWizardPage
 QWizardPage (QWidget *parent=0)
 
QString buttonText (QWizard::WizardButton which) const
 
virtual void cleanupPage ()
 
virtual void initializePage ()
 
bool isCommitPage () const
 
bool isFinalPage () const
 
virtual int nextId () const
 
QPixmap pixmap (QWizard::WizardPixmap which) const
 
void setButtonText (QWizard::WizardButton which, const QString &text)
 
void setCommitPage (bool commitPage)
 
void setFinalPage (bool finalPage)
 
void setPixmap (QWizard::WizardPixmap which, const QPixmap &pixmap)
 
void setSubTitle (const QString &subTitle)
 
void setTitle (const QString &title)
 
QString subTitle () const
 
QString title () const
 

Additional Inherited Members

- Protected Member Functions inherited from QWizardPage
QVariant field (const QString &name) const
 
void registerField (const QString &name, QWidget *widget, const char *property=0, const char *changedSignal=0)
 
void setField (const QString &name, const QVariant &value)
 
QWizard * wizard () const
 
- Properties inherited from QWizardPage
QString subTitle
 
QString title
 

Detailed Description

Definition at line 116 of file certifycertificatedialog_p.h.

Constructor & Destructor Documentation

OptionsPage::OptionsPage ( QWidget *  parent = 0)
explicit

Definition at line 181 of file certifycertificatedialog.cpp.

Member Function Documentation

bool OptionsPage::exportableCertificationSelected ( ) const

Definition at line 190 of file certifycertificatedialog.cpp.

bool OptionsPage::isComplete ( ) const
virtual

This virtual function is called by QWizard to determine whether the Next or Finish button should be enabled or disabled.

The default implementation returns true if all {mandatory fields} are filled; otherwise, it returns false.

If you reimplement this function, make sure to emit completeChanged(), from the rest of your implementation, whenever the value of isComplete() changes. This ensures that QWizard updates the enabled or disabled state of its buttons. An example of the reimplementation is available {http://qt.nokia.com/doc/qq/qq22-qwizard.html#validatebeforeitstoolate} {here}.

See also
completeChanged(), isFinalPage()

Reimplemented from QWizardPage.

Definition at line 223 of file certifycertificatedialog.cpp.

void Kleo::Dialogs::CertifyCertificateDialogPrivate::OptionsPage::nextClicked ( )
signal
Key OptionsPage::selectedSecretKey ( ) const

Definition at line 206 of file certifycertificatedialog.cpp.

bool OptionsPage::sendToServer ( ) const

Definition at line 214 of file certifycertificatedialog.cpp.

void OptionsPage::setCertificatesWithSecretKeys ( const std::vector< GpgME::Key > &  keys)

Definition at line 194 of file certifycertificatedialog.cpp.

bool OptionsPage::validatePage ( )
virtual

This virtual function is called by QWizard::validateCurrentPage() when the user clicks Next or Finish to perform some last-minute validation. If it returns true, the next page is shown (or the wizard finishes); otherwise, the current page stays up.

The default implementation returns true.

When possible, it is usually better style to disable the Next or Finish button (by specifying {mandatory fields} or reimplementing isComplete()) than to reimplement validatePage().

See also
QWizard::validateCurrentPage(), isComplete()

Reimplemented from QWizardPage.

Definition at line 218 of file certifycertificatedialog.cpp.


The documentation for this class was generated from the following files:
  • certifycertificatedialog_p.h
  • certifycertificatedialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kleopatra

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

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