summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kdualcolortest.h
blob: 2c38b7af07b176f11c873836aaa61d5f6d12c840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __KDUALCOLORTEST_H
#define __KDUALCOLORTEST_H

#include <tqlabel.h>
#include <kdualcolorbutton.h>

class KDualColorWidget : public TQWidget
{
    Q_OBJECT
public:
    KDualColorWidget(TQWidget *parent=0, const char *name=0);
protected slots:
    void slotFgChanged(const TQColor &c);
    void slotBgChanged(const TQColor &c);
    void slotCurrentChanged(KDualColorButton::DualColor current);
protected:
    TQLabel *lbl;
};

#endif