summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/kdevplugin.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/interfaces/kdevplugin.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/interfaces/kdevplugin.h')
-rw-r--r--lib/interfaces/kdevplugin.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/interfaces/kdevplugin.h b/lib/interfaces/kdevplugin.h
index a683c5db..249ff808 100644
--- a/lib/interfaces/kdevplugin.h
+++ b/lib/interfaces/kdevplugin.h
@@ -78,7 +78,7 @@ plugin names in GUI (required);
- <i>X-KDevelop-Plugin-Version</i> is a version of a plugin (optional);
- <i>X-KDevelop-Plugin-Homepage</i> is a home page of a plugin (optional);
- <i>X-KDevelop-Plugin-License</i> is a license (optional). can be: GPL, LGPL, BSD, Artistic,
-QPL or Custom. If this property is not set, license is considered as unknown;
+TQPL or Custom. If this property is not set, license is considered as unknown;
- <i>X-KDevelop-Plugin-BugsEmailAddress</i> is an email address for bug reports (optional);
- <i>X-KDevelop-Plugin-Copyright</i> is a copyright statement (optional);
- <i>X-KDE-Library</i> is a name of library which contains the plugin (required);
@@ -107,6 +107,7 @@ from shell applications.
class KDevPlugin: public TQObject, public KXMLGUIClient
{
Q_OBJECT
+ TQ_OBJECT
public:
/**Constructs a plugin.
@@ -115,10 +116,10 @@ public:
plugin information in various places like "about application" dialog, plugin selector
dialog, etc. Plugin does not take ownership on info object, also its lifetime should
be equal to the lifetime of the plugin.
- @param parent The parent object for the plugin. Parent object must implement @ref KDevApi
+ @param tqparent The tqparent 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, TQObject *parent, const char *name = 0);
+ KDevPlugin(const KDevPluginInfo *info, TQObject *tqparent, const char *name = 0);
/**Destructs a plugin.*/
virtual ~KDevPlugin();
@@ -182,7 +183,7 @@ public:
They belong to the application rc file (kdeveloprc)
@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.*/
+ @param el The tqparent DOM element for plugins session settings.*/
virtual void restorePartialProjectSession(const TQDomElement* el);
/**Saves session settings.