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

TDevelop Interfaces Library

  • lib
  • interfaces
kdevapi.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2000-2001 Bernd Gehrmann <bernd@kdevelop.org>
3  Copyright (C) 2004 Alexander Dymo <adymo@kdevelop.org>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 #ifndef KDEVAPI_H
21 #define KDEVAPI_H
22 
23 #include <tqobject.h>
24 
25 class TQStringList;
26 class TQDomDocument;
27 class KDevCore;
28 class KDevProject;
29 class KDevLanguageSupport;
30 class CodeModel;
31 class KDevPartController;
32 class KDevMainWindow;
33 class KDevCodeRepository;
34 class KDevPlugin;
35 class KDevPluginController;
36 
47 class KDevApi: public TQObject
48 {
49  Q_OBJECT
50 
51 public:
53  KDevApi();
54 
56  virtual ~KDevApi();
57 
59  virtual KDevMainWindow *mainWindow() const = 0;
60 
62  virtual KDevPartController *partController() const = 0;
63 
65  virtual KDevPluginController *pluginController() const = 0;
66 
69  virtual KDevCore *core() const = 0;
70 
72  virtual CodeModel *codeModel() const = 0;
73 
75  TQDomDocument *projectDom() const;
76 
79  void setProjectDom(TQDomDocument *dom);
80 
82  KDevProject *project() const;
83 
86  void setProject(KDevProject *project);
87 
89  KDevLanguageSupport *languageSupport() const;
90 
94  void setLanguageSupport(KDevLanguageSupport *languageSupport);
95 
97  KDevCodeRepository *codeRepository() const;
98 
99 private:
100  class Private;
101  Private *d;
102 };
103 
104 #endif
KDevPlugin
The base class for all TDevelop plugins.
Definition: kdevplugin.h:107
KDevApi::partController
virtual KDevPartController * partController() const =0
KDevApi::languageSupport
KDevLanguageSupport * languageSupport() const
Definition: kdevapi.cpp:68
KDevProject
KDevelop project interface.
Definition: kdevproject.h:48
KDevCodeRepository
Code repository - the persistent symbol store accessor.
Definition: kdevcoderepository.h:48
KDevApi::mainWindow
virtual KDevMainWindow * mainWindow() const =0
KDevApi::pluginController
virtual KDevPluginController * pluginController() const =0
KDevApi
The interface to KDevelop&#39;s core components.
Definition: kdevapi.h:47
KDevApi::setProject
void setProject(KDevProject *project)
Sets the current project.
Definition: kdevapi.cpp:63
KDevLanguageSupport
KDevelop language support interface - the base class for all programming language support plugins...
Definition: kdevlanguagesupport.h:61
KDevApi::setProjectDom
void setProjectDom(TQDomDocument *dom)
Sets the Document Object Model for the current project.
Definition: kdevapi.cpp:83
KDevApi::KDevApi
KDevApi()
Constructor.
Definition: kdevapi.cpp:46
KDevMainWindow
KDevelop main window interface.
Definition: kdevmainwindow.h:40
KDevPluginController
The base class for TDevelop plugin controller.
Definition: kdevplugincontroller.h:39
KDevApi::codeRepository
KDevCodeRepository * codeRepository() const
Definition: kdevapi.cpp:88
KDevApi::project
KDevProject * project() const
Definition: kdevapi.cpp:58
KDevApi::~KDevApi
virtual ~KDevApi()
Destructor.
Definition: kdevapi.cpp:52
CodeModel
Code Model - a memory symbol store.
Definition: codemodel.h:324
KDevApi::codeModel
virtual CodeModel * codeModel() const =0
KDevApi::setLanguageSupport
void setLanguageSupport(KDevLanguageSupport *languageSupport)
Sets the object charged of providing handling for the source files written in particular language (la...
Definition: kdevapi.cpp:73
KDevApi::projectDom
TQDomDocument * projectDom() const
Definition: kdevapi.cpp:78
KDevApi::core
virtual KDevCore * core() const =0
KDevCore
A KDevCore class defines an object which takes care about the cooperation between the various plug-in...
Definition: kdevcore.h:300
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.