diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-20 01:29:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-20 01:29:50 +0000 |
commit | 8362bf63dea22bbf6736609b0f49c152f975eb63 (patch) | |
tree | 0eea3928e39e50fae91d4e68b21b1e6cbae25604 /kpresenter/KPrShadowDialogImpl.h | |
download | koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.tar.gz koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.zip |
Added old abandoned KDE3 version of koffice
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1077364 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpresenter/KPrShadowDialogImpl.h')
-rw-r--r-- | kpresenter/KPrShadowDialogImpl.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/kpresenter/KPrShadowDialogImpl.h b/kpresenter/KPrShadowDialogImpl.h new file mode 100644 index 00000000..ad536f5f --- /dev/null +++ b/kpresenter/KPrShadowDialogImpl.h @@ -0,0 +1,41 @@ +// -*- 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 + +public: + KPrShadowDialogImpl( QWidget *parent, const char* name = 0 ); + ~KPrShadowDialogImpl() {} + + void setShadowDirection( ShadowDirection sd ); + void setShadowDistance( int sd ); + void setShadowColor( const QColor &sc ); + + ShadowDirection shadowDirection(); + int shadowDistance(); + QColor shadowColor(); + +signals: + void apply(); + +protected slots: + void colorChanged( const QColor& ); + void directionChanged( int ); + void distanceChanged( int ); + void applyClicked(); + void okClicked(); + +protected: + KPrTextPreview *_preview; +}; + + +#endif |