xca/widgets/validity.h
Christian 8283d8e7b9 replace copyright notice in source files
(copyright and licence itself remain unchanged)
fix configure to set Qt include dir
code justifying
2007-04-12 12:25:28 +02:00

29 lines
427 B
C++

/* vi: set sw=4 ts=4:
*
* Copyright (C) 2001 - 2007 Christian Hohnstaedt.
*
* All rights reserved.
*/
#ifndef VALIDITY_H
#define VALIDITY_H
#include <qdatetimeedit.h>
#include <lib/asn1time.h>
class Validity : public QDateTimeEdit
{
Q_OBJECT
public:
Validity( QWidget* parent);
~Validity();
a1time getDate() const;
void setDate(const a1time &t, int midnight = 0);
public slots:
void setNow();
};
#endif