diff options
Diffstat (limited to 'lib/interfaces/kdevplugin.h')
| -rw-r--r-- | lib/interfaces/kdevplugin.h | 16 | 
1 files changed, 8 insertions, 8 deletions
| diff --git a/lib/interfaces/kdevplugin.h b/lib/interfaces/kdevplugin.h index 6e172358..609ac858 100644 --- a/lib/interfaces/kdevplugin.h +++ b/lib/interfaces/kdevplugin.h @@ -20,7 +20,7 @@  #ifndef KDEVPLUGIN_H  #define KDEVPLUGIN_H -#include <qobject.h> +#include <tqobject.h>  #include <kxmlguiclient.h>  #include "kdevapi.h" @@ -104,7 +104,7 @@ and writing factories for plugins.  @sa KDevCore class documentation for an information about features which are available to plugins  from shell applications.  */ -class KDevPlugin: public QObject, public KXMLGUIClient +class KDevPlugin: public TQObject, public KXMLGUIClient  {      Q_OBJECT @@ -118,7 +118,7 @@ public:      @param parent The parent object for the plugin. Parent object must implement @ref KDevApi      interface. Otherwise the plugin will not be constructed.      @param name The internal name which identifies the plugin.*/ -    KDevPlugin(const KDevPluginInfo *info, QObject *parent, const char *name = 0); +    KDevPlugin(const KDevPluginInfo *info, TQObject *parent, const char *name = 0);      /**Destructs a plugin.*/      virtual ~KDevPlugin(); @@ -144,7 +144,7 @@ public:      CodeModel *codeModel() const;      /**@return A reference to the DOM tree that represents the project file or 0 if no project is loaded.*/ -    QDomDocument *projectDom() const; +    TQDomDocument *projectDom() const;      /**@return A reference to the part controller which is used to manipulate loaded KParts.*/      KDevPartController *partController() const; @@ -167,7 +167,7 @@ public:      constraint is a usual KTrader constraint statement (like "[X-KDevelop-Foo]=='MyFoo'").      @return A KDevelop extension plugin for given service type or 0 if no plugin supports it*/      template <class Extension> -    Extension *extension(const QString &serviceType, const QString &constraint = "") +    Extension *extension(const TQString &serviceType, const TQString &constraint = "")      {         return static_cast<Extension*>(extension_internal(serviceType, constraint));      } @@ -183,14 +183,14 @@ public:      @note Project session file is useful for settings which cannot be shared between            developers. If a setting should be shared, modify projectDom instead.      @param el The parent DOM element for plugins session settings.*/ -    virtual void restorePartialProjectSession(const QDomElement* el); +    virtual void restorePartialProjectSession(const TQDomElement* el);      /**Saves session settings.      @sa restorePartialProjectSession - this is the other way round, the same just for saving.*/ -    virtual void savePartialProjectSession(QDomElement* el); +    virtual void savePartialProjectSession(TQDomElement* el);  private: -    KDevPlugin *extension_internal(const QString &serviceType, const QString &constraint = ""); +    KDevPlugin *extension_internal(const TQString &serviceType, const TQString &constraint = "");      KDevApi *m_api;      class Private; | 
