KPIM::ClickLineEdit Class Reference
#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
Definition at line 36 of file clicklineedit.h.
Constructor & Destructor Documentation
◆ ClickLineEdit()
ClickLineEdit::ClickLineEdit | ( | TQWidget * | parent, |
const TQString & | msg = TQString() , |
||
const char * | name = 0 |
||
) |
Definition at line 29 of file clicklineedit.cpp.
◆ ~ClickLineEdit()
ClickLineEdit::~ClickLineEdit | ( | ) |
Definition at line 36 of file clicklineedit.cpp.
Member Function Documentation
◆ clickMessage()
|
inline |
Definition at line 46 of file clicklineedit.h.
◆ drawContents()
|
protectedvirtual |
Definition at line 52 of file clicklineedit.cpp.
◆ focusInEvent()
|
protectedvirtual |
Definition at line 65 of file clicklineedit.cpp.
◆ focusOutEvent()
|
protectedvirtual |
Definition at line 75 of file clicklineedit.cpp.
◆ setClickMessage()
void ClickLineEdit::setClickMessage | ( | const TQString & | msg | ) |
Definition at line 39 of file clicklineedit.cpp.
◆ setText()
|
virtual |
Definition at line 45 of file clicklineedit.cpp.
The documentation for this class was generated from the following files: