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

KonsoleKalendar

  • sources
  • kde-4.12
  • kdepim
  • console
  • konsolekalendar
konsolekalendarepoch.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * konsolekalendarepoch.h *
3  * *
4  * KonsoleKalendar is a command line interface to KDE calendars *
5  * Copyright (C) 2002-2004 Tuukka Pasanen <illuusio@mailcity.com> *
6  * Copyright (C) 2003-2005 Allen Winter <winter@kde.org> *
7  * *
8  * This program is free software; you can redistribute it and/or modify *
9  * it under the terms of the GNU General Public License as published by *
10  * the Free Software Foundation; either version 2 of the License, or *
11  * (at your option) any later version. *
12  * *
13  * This program is distributed in the hope that it will be useful, *
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16  * GNU General Public License for more details. *
17  * *
18  * You should have received a copy of the GNU General Public License *
19  * along with this program; if not, write to the Free Software *
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
21  * *
22  * As a special exception, permission is given to link this program *
23  * with any edition of Qt, and distribute the resulting executable, *
24  * without including the source code for Qt in the source distribution. *
25  * *
26  ******************************************************************************/
27 
28 #ifndef KONSOLEKALENDAREPOCH_H
29 #define KONSOLEKALENDAREPOCH_H
30 
31 #include <QtCore/QDateTime>
32 
43 class KonsoleKalendarEpoch
44 {
45  public:
49  KonsoleKalendarEpoch();
50 
54  ~KonsoleKalendarEpoch();
55 
60  static QDateTime epoch2QDateTime( uint epoch );
61 
66  static uint QDateTime2epoch( const QDateTime &dt );
67 
68 };
69 
70 #endif
KonsoleKalendarEpoch::QDateTime2epoch
static uint QDateTime2epoch(const QDateTime &dt)
Converts QT DateTime to epoch format.
Definition: konsolekalendarepoch.cpp:60
KonsoleKalendarEpoch::KonsoleKalendarEpoch
KonsoleKalendarEpoch()
Constructor.
Definition: konsolekalendarepoch.cpp:41
KonsoleKalendarEpoch::~KonsoleKalendarEpoch
~KonsoleKalendarEpoch()
Destructor.
Definition: konsolekalendarepoch.cpp:45
KonsoleKalendarEpoch::epoch2QDateTime
static QDateTime epoch2QDateTime(uint epoch)
Converts epoch time to QDateTime format.
Definition: konsolekalendarepoch.cpp:52
KonsoleKalendarEpoch
Class for timestamps expressed as epochs.
Definition: konsolekalendarepoch.h:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KonsoleKalendar

Skip menu "KonsoleKalendar"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Members
  • File List
  • File Members
  • Related Pages

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