You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef HINTLINEEDIT_H
|
|
|
|
#define HINTLINEEDIT_H
|
|
|
|
|
|
|
|
#include <klineedit.h> //baseclass
|
|
|
|
|
|
|
|
class TQVBox;
|
|
|
|
class TQLabel;
|
|
|
|
class TQWidget;
|
|
|
|
|
|
|
|
class HintLineEdit : public KLineEdit
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
HintLineEdit( const TQString &hint, const TQString &text, TQWidget *parent = 0, const char *name = 0 );
|
|
|
|
HintLineEdit( const TQString &text, TQWidget *parent = 0, const char *name = 0 );
|
|
|
|
HintLineEdit( TQWidget *parent = 0, const char *name = 0 );
|
|
|
|
virtual ~HintLineEdit();
|
|
|
|
virtual TQObject *parent();
|
|
|
|
virtual void setHint( const TQString &hint );
|
|
|
|
private:
|
|
|
|
void init();
|
|
|
|
TQVBox *m_vbox;
|
|
|
|
TQLabel *m_hint;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|