summaryrefslogtreecommitdiffstats
path: root/amarok/src/hintlineedit.h
blob: c4b571d246976b584c61aaa0537ef88ee9d84ce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef HINTLINEEDIT_H
#define HINTLINEEDIT_H

#include <klineedit.h> //baseclass

class TQVBox;
class TQLabel;
class TQWidget;

class HintLineEdit : public KLineEdit
{
    TQ_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