blob: 8ddd8e3d6196e0819ffd721a3f28006c2cfa5e46 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/**
File : qxsldbgdoc.h
Author : Keith Isdale
Date : 19th April 2002
Description : The document to handle source and breakpoints
*/
#ifndef TQXSLDBGDOC_H
#define TQXSLDBGDOC_H
#include <tdeio/job.h>
#include <tqptrlist.h>
#include <tqstring.h>
#include <tqguardedptr.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/view.h>
class QXsldbgDoc : public TQObject {
TQ_OBJECT
public:
QXsldbgDoc(TQWidget *parent=0, KURL url=TQString());
~QXsldbgDoc();
void enableBreakPoint(uint lineNumber, bool state);
void addBreakPoint(uint lineNumber, bool enabled);
void deleteBreakPoint(uint lineNumber);
void selectBreakPoint(uint lineNumberbool, bool reachedBreakPoint);
bool isSelected(uint lineNumberbool);
void clearMarks(bool allMarkTypes);
KURL url() const;
KTextEditor::Document *kateDoc() {return kDoc;};
KTextEditor::View *kateView() {return kView;};
bool isLocked() {return locked;};
void refresh();
signals:
void docChanged();
private slots:
void slotResult( TDEIO::Job *job );
void lockDoc();
void unlockDoc();
private:
TQGuardedPtr<KTextEditor::Document> kDoc;
TQGuardedPtr<KTextEditor::View> kView;
bool locked;
};
#endif
|