libkdepim
KTimeEdit Class Reference
#include <ktimeedit.h>
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
Definition at line 44 of file ktimeedit.h.
Public Slots | |
void | setTime (QTime qt) |
Signals | |
void | timeChanged (QTime newt) |
Public Member Functions | |
KTimeEdit (QWidget *parent=0, QTime qt=QTime(12, 0), const char *name=0) | |
virtual | ~KTimeEdit () |
bool | hasTime () const |
QTime | getTime () const |
QSizePolicy | sizePolicy () const |
bool | inputIsValid () const |
Protected Slots | |
void | active (int) |
void | hilit (int) |
void | changedText () |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *qke) |
void | addTime (QTime qt) |
void | subTime (QTime qt) |
void | updateText () |
Constructor & Destructor Documentation
|
constructs a new time edit.
Definition at line 108 of file ktimeedit.cpp. |
Member Function Documentation
|
returns the time that is currently set in the timeLineEdit.
Definition at line 149 of file ktimeedit.cpp. |
|
Returns, if a time is selected. Can not return false anymore.... Definition at line 140 of file ktimeedit.cpp. |
|
return true if input is a valid time and false if not
Definition at line 277 of file ktimeedit.cpp. |
|
used to set the time which is displayed to a specific value.
Definition at line 177 of file ktimeedit.cpp. |
|
returns the preferred size policy of the KTimeEdit
Definition at line 168 of file ktimeedit.cpp. |
|
Emitted every time the time displayed changes. "newt" is the new time. |
The documentation for this class was generated from the following files: