blob: fad75420875fdd05b96f8f954419282cc8ccc208 (
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
|
#ifndef SCROLLVIEW_H
#define SCROLLVIEW_H
#include <tqscrollview.h>
#include "kformuladefs.h"
class KFormulaWidget;
using namespace KFormula;
class ScrollView : public TQScrollView {
Q_OBJECT
public:
ScrollView();
virtual void addChild(KFormulaWidget* c, int x=0, int y=0);
protected:
virtual void focusInEvent(TQFocusEvent* event);
protected slots:
void cursorChanged(bool visible, bool selecting);
private:
KFormulaWidget* child;
};
#endif // SCROLLVIEW_H
|