summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/extensions/kdevversioncontrol.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/extensions/kdevversioncontrol.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/extensions/kdevversioncontrol.h')
-rw-r--r--lib/interfaces/extensions/kdevversioncontrol.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/lib/interfaces/extensions/kdevversioncontrol.h b/lib/interfaces/extensions/kdevversioncontrol.h
index 9b0571b8..63656c9e 100644
--- a/lib/interfaces/extensions/kdevversioncontrol.h
+++ b/lib/interfaces/extensions/kdevversioncontrol.h
@@ -135,6 +135,7 @@ if (vcs) {
class KDevVersionControl: public KDevPlugin
{
Q_OBJECT
+ TQ_OBJECT
public:
/**Constructs a VCS plugin.
@@ -143,11 +144,11 @@ 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.*/
- KDevVersionControl(const KDevPluginInfo *info, TQObject *parent, const char *name )
- :KDevPlugin(info, parent, name ) {}
+ KDevVersionControl(const KDevPluginInfo *info, TQObject *tqparent, const char *name )
+ :KDevPlugin(info, tqparent, name ) {}
/**Creates a new project in the passed path @p dir. This should instantiate
VCS infrastructure and import a project into the VCS in that directory.
@@ -181,22 +182,23 @@ signals:
/**
Basic interface for providing info on file registered in a version control repository repository.
*/
-class KDevVCSFileInfoProvider: public QObject
+class KDevVCSFileInfoProvider: public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**Constructor.
- @param parent The parent VCS plugin.
+ @param tqparent The tqparent VCS plugin.
@param name The name of a provider object.*/
- KDevVCSFileInfoProvider(KDevVersionControl *parent, const char *name)
- : TQObject( parent, name ), m_owner(parent) {}
+ KDevVCSFileInfoProvider(KDevVersionControl *tqparent, const char *name)
+ : TQObject( tqparent, name ), m_owner(tqparent) {}
/**Gets the status for local files in the specified directory:
the info are collected locally so they are necessarily in sync with the repository
This is a <b>synchronous operation</b> (blocking).
@param dirPath The relative (to project dir) directory path to stat.
- @return Status for all <b>registered</b> files.*/
+ @return tqStatus for all <b>registered</b> files.*/
virtual const VCSFileInfoMap *status(const TQString &dirPath) = 0;
/**Starts a request for directory status to the remote repository.
@@ -208,18 +210,18 @@ public:
@param dirPath The (relative to project directory) directory which status you are asking for.
@param callerData The pointer to some data you want the provider will return
to you when it has done.
- @param recursive If false, retrieve information only for dirPath's immediate children.
+ @param recursive If false, retrieve information only for dirPath's immediate tqchildren.
@param checkRepos If true, contact remote repository and augment repository's status.
If false, retrieve only for local modification information.
@return true if the request has been successfully started, false otherwise.*/
- virtual bool requestStatus( const TQString &dirPath, void *callerData, bool recursive = true, bool checkRepos = true ) = 0;
+ virtual bool requesttqStatus( const TQString &dirPath, void *callerData, bool recursive = true, bool checkRepos = true ) = 0;
signals:
/**Emitted when the status request to remote repository has finished.
@param fileInfoMap The status for <b>registered in repository</b> files.
@param callerData The pointer to some data you want the provider will return
to you when it has done
- @see requestStatus for to find out when this signal should be used.*/
+ @see requesttqStatus for to find out when this signal should be used.*/
void statusReady(const VCSFileInfoMap &fileInfoMap, void *callerData);
protected: