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

kgpg

  • sources
  • kde-4.14
  • kdeutils
  • kgpg
selectexpirydate.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002 Jean-Baptiste Mardelle <bj@altern.org>
3  * Copyright (C) 2007 Jimmy Gilles <jimmygilles@gmail.com>
4  * Copyright (C) 2008 Rolf Eike Beer <kde@opensource.sf-tec.de>
5  */
6 
7 /***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
16 #ifndef SELECTEXPIRYDATE_H
17 #define SELECTEXPIRYDATE_H
18 
19 #include <QDateTime>
20 
21 #include <KDialog>
22 
23 class KDatePicker;
24 class QCheckBox;
25 
32 class SelectExpiryDate : public KDialog
33 {
34  Q_OBJECT
35 
36 public:
37  explicit SelectExpiryDate(QWidget *parent = 0, QDateTime date = QDateTime());
38 
39  QDateTime date() const;
40 
41 private slots:
42  void slotCheckDate(const QDate &date);
43  void slotEnableDate(const bool ison);
44 
45 private:
46  QCheckBox *m_unlimited;
47  KDatePicker *m_datepicker;
48 };
49 
50 #endif /* SELECTEXPIRYDATE_H */
QWidget
KDialog
SelectExpiryDate::SelectExpiryDate
SelectExpiryDate(QWidget *parent=0, QDateTime date=QDateTime())
Definition: selectexpirydate.cpp:24
QCheckBox
SelectExpiryDate
shows a dialog to choose expiry date
Definition: selectexpirydate.h:32
QDate
SelectExpiryDate::date
QDateTime date() const
Definition: selectexpirydate.cpp:60
QDateTime
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kgpg

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

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