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

TDevelop Interfaces Library

  • lib
  • interfaces
kdevplugincontroller.cpp
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 #include "kdevplugincontroller.h"
20 
21 #include "kdevplugin.h"
22 
23 KDevPluginController::KDevPluginController()
24 {
25 }
26 
27 TDETrader::OfferList KDevPluginController::query(const TQString &serviceType,
28  const TQString &constraint)
29 {
30  return TDETrader::self()->query(serviceType,
31  TQString("%1 and [X-TDevelop-Version] == %2").arg(constraint).arg(TDEVELOP_PLUGIN_VERSION));
32 }
33 
34 TDETrader::OfferList KDevPluginController::queryPlugins(const TQString &constraint)
35 {
36  return query("TDevelop/Plugin", constraint);
37 }
38 
39 KURL::List KDevPluginController::profileResources(const TQString &/*nameFilter*/)
40 {
41  return KURL::List();
42 }
43 
44 KURL::List KDevPluginController::profileResourcesRecursive(const TQString &/*nameFilter*/)
45 {
46  return KURL::List();
47 }
48 
49 #include "kdevplugincontroller.moc"
KDevPluginController::KDevPluginController
KDevPluginController()
Constructor.
Definition: kdevplugincontroller.cpp:23
TDEVELOP_PLUGIN_VERSION
#define TDEVELOP_PLUGIN_VERSION
Current TDevelop plugin interface version.
Definition: kdevplugin.h:46
kdevplugin.h
TDevelop plugin interface.
kdevplugincontroller.h
TDevelop plugin controller interface.
KDevPluginController::query
static TDETrader::OfferList query(const TQString &serviceType, const TQString &constraint)
Queries KDevelop services.
Definition: kdevplugincontroller.cpp:27
KDevPluginController::profileResourcesRecursive
virtual KURL::List profileResourcesRecursive(const TQString &nameFilter)
Reimplement this function only if your shell supports plugin profiles.
Definition: kdevplugincontroller.cpp:44
KDevPluginController::profileResources
virtual KURL::List profileResources(const TQString &nameFilter)
Reimplement this function only if your shell supports plugin profiles.
Definition: kdevplugincontroller.cpp:39
KDevPluginController::queryPlugins
static TDETrader::OfferList queryPlugins(const TQString &constraint)
Queries TDevelop plugins.
Definition: kdevplugincontroller.cpp:34

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.