KDE PIM / Developers / API Docs / libkdepim

KTimeEdit Class Reference

This is a class that provides an easy, user friendly way to edit times.Provides a way to edit times in a user-friendly manner. More...

#include <ktimeedit.h>

Inherits QComboBox.

List of all members.

Public Slots

Signals

Public Member Functions

Protected Slots

Protected Member Functions


Detailed Description

This is a class that provides an easy, user friendly way to edit times.Provides a way to edit times in a user-friendly manner.

up/down/ increase or decrease time, respectively.

Author:
Preston Brown, Ian Dawes


Constructor & Destructor Documentation

KTimeEdit::KTimeEdit QWidget *  parent = 0,
QTime  qt = QTime(12, 0),
const char *  name = 0
 

constructs a new time edit.


Member Function Documentation

bool KTimeEdit::hasTime  )  const
 

Returns, if a time is selected.

Can not return false anymore....

QTime KTimeEdit::getTime  )  const
 

returns the time that is currently set in the timeLineEdit.

QSizePolicy KTimeEdit::sizePolicy  )  const
 

returns the preferred size policy of the KTimeEdit

bool KTimeEdit::inputIsValid  )  const
 

return true if input is a valid time and false if not

void KTimeEdit::timeChanged QTime  newt  )  [signal]
 

Emitted every time the time displayed changes.

"newt" is the new time.

void KTimeEdit::setTime QTime  qt  )  [slot]
 

used to set the time which is displayed to a specific value.


The documentation for this class was generated from the following files: