summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrShadowDialogImpl.h
blob: b9f3a41195f50d424eb0d4c3436517c9dc6addb0 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef __shadowdialogimpl_h__
#define __shadowdialogimpl_h__

#include "shadowdialog.h"
#include "global.h"

class KPrTextPreview;

class KPrShadowDialogImpl : public ShadowDialogBase
{
    TQ_OBJECT
  

public:
    KPrShadowDialogImpl( TQWidget *parent, const char* name = 0 );
    ~KPrShadowDialogImpl() {}

    void setShadowDirection( ShadowDirection sd );
    void setShadowDistance( int sd );
    void setShadowColor( const TQColor &sc );

    ShadowDirection shadowDirection();
    int shadowDistance();
    TQColor shadowColor();

signals:
    void apply();

protected slots:
    void colorChanged( const TQColor& );
    void directionChanged( int );
    void distanceChanged( int );
    void applyClicked();
    void okClicked();

protected:
    KPrTextPreview *_preview;
};


#endif