You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
58 lines
1.2 KiB
/**
|
|
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 <kio/job.h>
|
|
#include <tqptrlist.h>
|
|
#include <tqstring.h>
|
|
#include <tqguardedptr.h>
|
|
#include <ktexteditor/document.h>
|
|
#include <ktexteditor/view.h>
|
|
|
|
class QXsldbgDoc : public TQObject {
|
|
|
|
Q_OBJECT
|
|
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( KIO::Job *job );
|
|
void lockDoc();
|
|
void unlockDoc();
|
|
|
|
private:
|
|
TQGuardedPtr<KTextEditor::Document> kDoc;
|
|
TQGuardedPtr<KTextEditor::View> kView;
|
|
bool locked;
|
|
};
|
|
|
|
#endif
|