summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/kdevproject.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/kdevproject.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/kdevproject.h')
-rw-r--r--lib/interfaces/kdevproject.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/interfaces/kdevproject.h b/lib/interfaces/kdevproject.h
index 3e27d886..62e936b4 100644
--- a/lib/interfaces/kdevproject.h
+++ b/lib/interfaces/kdevproject.h
@@ -48,6 +48,7 @@ as a way of providing support for a build system (like it is done in KDevelop ID
class KDevProject: public KDevPlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
/**Constructs a project plugin.
@param info Important information about the plugin - plugin internal and generic
@@ -55,10 +56,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.*/
- KDevProject(const KDevPluginInfo *info, TQObject *parent=0, const char *name=0);
+ KDevProject(const KDevPluginInfo *info, TQObject *tqparent=0, const char *name=0);
/**Destructor.*/
virtual ~KDevProject();
@@ -66,7 +67,7 @@ public:
enum Options {
UsesOtherBuildSystem = 0 /**<Project uses unknown or unspecified build system or build system is not used at all.*/,
UsesAutotoolsBuildSystem = 1 /**<Project uses autotools for building.*/,
- UsesQMakeBuildSystem =2 /**<Project uses qmake for building.*/
+ UsesTQMakeBuildSystem =2 /**<Project uses qmake for building.*/
};
/**This method is invoked when the project is opened