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

KDEUI

Public Slots | Signals | Public Member Functions | Properties | List of all members
KDateTimeWidget Class Reference

#include <kdatetimewidget.h>

Inheritance diagram for KDateTimeWidget:
Inheritance graph
[legend]

Public Slots

void setDateTime (const QDateTime &datetime)
 

Signals

void valueChanged (const QDateTime &datetime)
 

Public Member Functions

 KDateTimeWidget (QWidget *parent=0)
 
 KDateTimeWidget (const QDateTime &datetime, QWidget *parent=0)
 
virtual ~KDateTimeWidget ()
 
QDateTime dateTime () const
 

Properties

QDateTime dateTime
 

Detailed Description

A combination of a date and a time selection widget.

This widget can be used to display or allow user selection of date and time.

See also
KDateWidget
kdatetimewidget.png
KDE Date Time Widget
Author
Hans Petter Bieker bieke.nosp@m.r@kd.nosp@m.e.org

Definition at line 39 of file kdatetimewidget.h.

Constructor & Destructor Documentation

KDateTimeWidget::KDateTimeWidget ( QWidget *  parent = 0)
explicit

Constructs a date and time selection widget.

Definition at line 37 of file kdatetimewidget.cpp.

KDateTimeWidget::KDateTimeWidget ( const QDateTime &  datetime,
QWidget *  parent = 0 
)
explicit

Constructs a date and time selection widget with the initial date and time set to datetime.

Definition at line 44 of file kdatetimewidget.cpp.

KDateTimeWidget::~KDateTimeWidget ( )
virtual

Destructs the date and time selection widget.

Definition at line 55 of file kdatetimewidget.cpp.

Member Function Documentation

QDateTime KDateTimeWidget::dateTime ( ) const

Returns the currently selected date and time.

void KDateTimeWidget::setDateTime ( const QDateTime &  datetime)
slot

Changes the selected date and time to datetime.

Definition at line 76 of file kdatetimewidget.cpp.

void KDateTimeWidget::valueChanged ( const QDateTime &  datetime)
signal

Emitted whenever the date or time of the widget is changed, either with setDateTime() or via user selection.

Property Documentation

QDateTime KDateTimeWidget::dateTime
readwrite

Definition at line 42 of file kdatetimewidget.h.


The documentation for this class was generated from the following files:
  • kdatetimewidget.h
  • kdatetimewidget.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

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