libtdepim

#include <clicklineedit.h>

Inherits KLineEdit.

Inherited by KPIM::AddresseeLineEdit.

Public Member Functions

 ClickLineEdit (TQWidget *parent, const TQString &msg=TQString(), const char *name=0)
 
void setClickMessage (const TQString &msg)
 
TQString clickMessage () const
 
virtual void setText (const TQString &txt)
 

Protected Member Functions

virtual void drawContents (TQPainter *p)
 
virtual void focusInEvent (TQFocusEvent *ev)
 
virtual void focusOutEvent (TQFocusEvent *ev)
 

Detailed Description

This class provides a KLineEdit which contains a greyed-out hinting text as long as the user didn't enter any text.

LineEdit with customizable "Click here" text

Author
Daniel Molkentin

Definition at line 36 of file clicklineedit.h.


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