lib

scrollview.h
1
2#ifndef SCROLLVIEW_H
3#define SCROLLVIEW_H
4
5#include <tqscrollview.h>
6
7#include "kformuladefs.h"
8
10
11using namespace KFormula;
12
13
14class ScrollView : public TQScrollView {
15 TQ_OBJECT
16
17public:
18 ScrollView();
19
20 virtual void addChild(KFormulaWidget* c, int x=0, int y=0);
21
22protected:
23 virtual void focusInEvent(TQFocusEvent* event);
24
25protected slots:
26
27 void cursorChanged(bool visible, bool selecting);
28
29private:
30 KFormulaWidget* child;
31};
32
33#endif // SCROLLVIEW_H