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

TDevelop Interfaces Library

  • lib
  • interfaces
kdevplugincontroller.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 Copyright (C) 2004 Alexander Dymo <adymo@kdevelop.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 KDEVPLUGINCONTROLLER_H
20#define KDEVPLUGINCONTROLLER_H
21
22#include <tqobject.h>
23
24#include <kurl.h>
25#include <ktrader.h>
26
31
32class KDevPlugin;
33class ProfileEngine;
34
39class KDevPluginController: public TQObject
40{
41 TQ_OBJECT
42
43public:
44
49 virtual KDevPlugin * loadPlugin( const TQString & serviceType, const TQString & constraint ) = 0;
50
55 virtual void unloadPlugin( const TQString & plugin ) = 0;
56
60 virtual void unloadPlugins(TQStringList const &list) = 0;
61
63 virtual const TQValueList<KDevPlugin*> loadedPlugins() = 0;
64
73 virtual KDevPlugin *extension(const TQString &serviceType, const TQString &constraint = "") = 0;
74
82 static TDETrader::OfferList query(const TQString &serviceType, const TQString &constraint);
83
89 static TDETrader::OfferList queryPlugins(const TQString &constraint);
90
95 virtual KURL::List profileResources(const TQString &nameFilter);
96
103 virtual KURL::List profileResourcesRecursive(const TQString &nameFilter);
104
106 virtual ProfileEngine &engine() = 0;
107
108signals:
111 void profileChanged();
112
113protected:
115 KDevPluginController();
116
117};
118
119#endif
KDevPluginController::KDevPluginController
KDevPluginController()
Constructor.
Definition kdevplugincontroller.cpp:23
KDevPluginController::loadedPlugins
virtual const TQValueList< KDevPlugin * > loadedPlugins()=0
KDevPluginController::profileResourcesRecursive
virtual KURL::List profileResourcesRecursive(const TQString &nameFilter)
Reimplement this function only if your shell supports plugin profiles.
Definition kdevplugincontroller.cpp:53
KDevPluginController::engine
virtual ProfileEngine & engine()=0
KDevPluginController::profileChanged
void profileChanged()
Emitted when a plugin profile was changed (reloaded, other profile opened, etc.).
KDevPluginController::loadPlugin
virtual KDevPlugin * loadPlugin(const TQString &serviceType, const TQString &constraint)=0
Returns a uniquely specified plugin.
KDevPluginController::query
static TDETrader::OfferList query(const TQString &serviceType, const TQString &constraint)
Queries KDevelop services.
Definition kdevplugincontroller.cpp:27
KDevPluginController::profileResources
virtual KURL::List profileResources(const TQString &nameFilter)
Reimplement this function only if your shell supports plugin profiles.
Definition kdevplugincontroller.cpp:48
KDevPluginController::extension
virtual KDevPlugin * extension(const TQString &serviceType, const TQString &constraint="")=0
Queries for the plugin which supports given service type.
KDevPluginController::queryPlugins
static TDETrader::OfferList queryPlugins(const TQString &constraint)
Queries TDevelop plugins.
Definition kdevplugincontroller.cpp:43
KDevPluginController::unloadPlugin
virtual void unloadPlugin(const TQString &plugin)=0
Unloads the plugin specified by plugin.
KDevPluginController::unloadPlugins
virtual void unloadPlugins(TQStringList const &list)=0
Unloads plugins specified by list.
KDevPlugin
The base class for all TDevelop plugins.
Definition kdevplugin.h:108

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.15.0
This website is maintained by Timothy Pearson.