Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
kdeui
kdeui
kdeui
kdatetimewidget.h
1
/* This file is part of the KDE libraries
2
Copyright (C) 2002 Hans Petter bieker <bieker@kde.org>
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
License version 2 as published by the Free Software Foundation.
7
8
This library is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
Library General Public License for more details.
12
13
You should have received a copy of the GNU Library General Public License
14
along with this library; see the file COPYING.LIB. If not, write to
15
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16
Boston, MA 02110-1301, USA.
17
*/
18
19
#ifndef __KDATETIMEWIDGET__
20
#define __KDATETIMEWIDGET__
21
22
#include <tqwidget.h>
23
#include <tqdatetime.h>
24
25
#include <kdelibs_export.h>
26
40
class
KDEUI_EXPORT
KDateTimeWidget
:
public
TQWidget
41
{
42
Q_OBJECT
43
Q_PROPERTY( TQDateTime dateTime READ dateTime WRITE setDateTime )
44
45
public
:
49
KDateTimeWidget
(TQWidget * parent = 0,
const
char
* name = 0);
50
55
KDateTimeWidget
(
const
TQDateTime & datetime,
56
TQWidget * parent = 0,
const
char
* name = 0 );
57
61
virtual
~
KDateTimeWidget
();
62
66
TQDateTime dateTime()
const
;
67
68
public
slots:
72
void
setDateTime(
const
TQDateTime & datetime);
73
74
signals:
79
void
valueChanged(
const
TQDateTime & datetime);
80
81
private
:
82
void
init();
83
84
private
slots:
85
void
slotValueChanged();
86
87
private
:
88
class
KDateTimeWidgetPrivate;
89
KDateTimeWidgetPrivate *d;
90
};
91
92
#endif
kdeui
Skip menu "kdeui"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
Related Pages
kdeui
Skip menu "kdeui"
arts
dcop
dnssd
interfaces
interface
library
kspeech
ktexteditor
kabc
kate
kcmshell
kdecore
kded
kdefx
kdeprint
kdesu
kdeui
kdoctools
khtml
kimgio
kinit
kio
bookmarks
httpfilter
kfile
kio
kioexec
kpasswdserver
kssl
kioslave
http
kjs
kmdi
kmdi
knewstuff
kparts
krandr
kresources
kspell2
kunittest
kutils
kwallet
libkmid
libkscreensaver