summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/kdevplugin.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/interfaces/kdevplugin.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/interfaces/kdevplugin.h')
-rw-r--r--lib/interfaces/kdevplugin.h16
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;