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 /lib/kformula/scrollview.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 'lib/kformula/scrollview.h')
-rw-r--r-- | lib/kformula/scrollview.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/kformula/scrollview.h b/lib/kformula/scrollview.h new file mode 100644 index 000000000..200ade2a2 --- /dev/null +++ b/lib/kformula/scrollview.h @@ -0,0 +1,32 @@ + +#ifndef SCROLLVIEW_H +#define SCROLLVIEW_H + +#include <qscrollview.h> + +#include "kformuladefs.h" + +class KFormulaWidget; + +using namespace KFormula; + + +class ScrollView : public QScrollView { + Q_OBJECT +public: + ScrollView(); + + virtual void addChild(KFormulaWidget* c, int x=0, int y=0); + +protected: + virtual void focusInEvent(QFocusEvent* event); + +protected slots: + + void cursorChanged(bool visible, bool selecting); + +private: + KFormulaWidget* child; +}; + +#endif // SCROLLVIEW_H |