1
/***************************************************************************
2
rkward.cpp - description
4
begin : Tue Oct 29 20:06:08 CET 2002
5
copyright : (C) 2002 by Thomas Friedrichsmeier
6
email : tfry@users.sourceforge.net
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
19
#ifndef RKDOCMANAGER_H
20
#define RKDOCMANAGER_H
23
#include <kate/document.h>
24
#include <kparts/factory.h>
27
* This class handles Kate documents.
29
* @author Pierre Ecochard
31
class RKDocManager : public QObject
35
RKDocManager(QObject *parent = 0, const char *name = 0);
39
KTextEditor::Document *createDoc ();
40
void deleteDoc (Kate::Document *doc);
43
KTextEditor::Document *activeDocument ();
45
KTextEditor::Document *firstDocument ();
46
KTextEditor::Document *nextDocument ();
48
int findDocument (Kate::Document *doc);
53
QPtrList<KTextEditor::Document> m_docList;
54
KParts::Factory *m_factory;