summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrShadowDialogImpl.h
blob: c6c958766224a4552b942a0a33a2a1e2267fab5b (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
42
// -*- Mode: c++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; -*-
#ifndef __shadowdialogimpl_h__
#define __shadowdialogimpl_h__

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

class KPrTextPreview;

class KPrShadowDialogImpl : public ShadowDialogBase
{
    Q_OBJECT
  TQ_OBJECT

public:
    KPrShadowDialogImpl( TQWidget *tqparent, 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