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

kleopatra

  • sources
  • kde-4.12
  • kdepim
  • kleopatra
  • dialogs
Enumerations | Functions | Variables
expirydialog.cpp File Reference
#include <config-kleopatra.h>
#include "expirydialog.h"
#include "ui_expirydialog.h"
#include <QDate>
#include <KDebug>
#include <cassert>
#include "moc_expirydialog.cpp"
Include dependency graph for expirydialog.cpp:

Go to the source code of this file.

Enumerations

enum  Period {
  Days, Weeks, Months, Years,
  NumPeriods
}
 

Functions

static QDate date_by_amount_and_unit (int inAmount, int inUnit)
 
static int monthsBetween (const QDate &d1, const QDate &d2)
 
static int yearsBetween (const QDate &d1, const QDate &d2)
 

Variables

static const double DAYS_IN_GREGORIAN_YEAR = 365.2425
 

Enumeration Type Documentation

enum Period
Enumerator
Days 
Weeks 
Months 
Years 
NumPeriods 

Definition at line 48 of file expirydialog.cpp.

Function Documentation

static QDate date_by_amount_and_unit ( int  inAmount,
int  inUnit 
)
static

Definition at line 59 of file expirydialog.cpp.

static int monthsBetween ( const QDate &  d1,
const QDate &  d2 
)
static

Definition at line 75 of file expirydialog.cpp.

static int yearsBetween ( const QDate &  d1,
const QDate &  d2 
)
static

Definition at line 80 of file expirydialog.cpp.

Variable Documentation

const double DAYS_IN_GREGORIAN_YEAR = 365.2425
static

Definition at line 73 of file expirydialog.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:42 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