From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: 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 --- lib/interfaces/kdevplugin.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/interfaces/kdevplugin.h') 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); - X-KDevelop-Plugin-Version is a version of a plugin (optional); - X-KDevelop-Plugin-Homepage is a home page of a plugin (optional); - X-KDevelop-Plugin-License 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; - X-KDevelop-Plugin-BugsEmailAddress is an email address for bug reports (optional); - X-KDevelop-Plugin-Copyright is a copyright statement (optional); - X-KDE-Library 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. -- cgit v1.2.3