summaryrefslogtreecommitdiffstats
path: root/amarok/src/hintlineedit.h
blob: 5e32bd9c1749884b17796f7ae43a61ce30d6b0bd (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
{
    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