• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • TDevelop Interfaces Library
 

TDevelop Interfaces Library

  • lib
  • interfaces
katedocumentmanagerinterface.h
1 /* This file is part of the KDE project
2  Copyright (C) 2005 Ian Reinhart Geiser <geiser@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 #ifndef KATEDOCUMENTMANAGERINTERFACE_H
20 #define KATEDOCUMENTMANAGERINTERFACE_H
21 
22 #include <tqobject.h>
23 #include <dcopobject.h>
24 #include <dcopref.h>
25 #include <kurl.h>
26 class KDevPartController;
27 
33 class KateDocumentManagerInterface : public TQObject, public DCOPObject {
34 
35  Q_OBJECT
36 //
37  K_DCOP
38 public:
39  KateDocumentManagerInterface( KDevPartController *pc );
40 
41  ~KateDocumentManagerInterface();
42 
43 k_dcop:
44  DCOPRef activeDocument();
45  DCOPRef document( uint n );
46  DCOPRef documentWithID( uint id );
47  DCOPRef openURL( const KURL &url, const TQString &encoding );
48  bool closeAllDocuments();
49  bool closeDocument( uint n );
50  bool isOpen( const KURL &url );
51  int findDocument( const KURL &url );
52  uint activeDocumentNumber();
53  uint documents();
54 private:
55 
56  KDevPartController *m_controller;
57 };
58 
59 #endif
KateDocumentManagerInterface
This is an emulated interface to provide compatibility with Kate scripts.
Definition: katedocumentmanagerinterface.h:33
KDevPartController
Interface to control loaded parts and other documents.
Definition: kdevpartcontroller.h:56

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for TDevelop Interfaces Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.