libkdepim

KPIM::ClickLineEdit Class Reference

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

#include <clicklineedit.h>

Inherits KLineEdit.

Inherited by KPIM::AddresseeLineEdit.

List of all members.


Public Member Functions

 ClickLineEdit (TQWidget *parent, const TQString &msg=TQString::null, 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)

Properties

TQString clickMessage

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: